Warn for type mismatch for gmx printf like functions 1/3
[alexxy/gromacs.git] / src / gromacs / taskassignment / reportgpuusage.cpp
index 35d3e414c4f45d7b69a1e4d74b8aa59cb6f69883..e3daa7ea41e96573f7283c11c54f68febf7f4946 100644 (file)
@@ -125,7 +125,7 @@ reportGpuUsage(const MDLogger                &mdlog,
             output += gmx::formatString("On host %s ", host);
         }
         output += gmx::formatString("%zu GPU%s %sselected for this run.\n"
-                                    "Mapping of GPU IDs to the %d GPU task%s in the %d rank%s on this node:\n  %s\n",
+                                    "Mapping of GPU IDs to the %zu GPU task%s in the %zu rank%s on this node:\n  %s\n",
                                     numGpusInUse, bPluralGpus ? "s" : "",
                                     userSetGpuIds ? "user-" : "auto-",
                                     numGpuTasksOnThisNode,