Warn for type mismatch for gmx printf like functions 1/3
[alexxy/gromacs.git] / src / gromacs / listed-forces / manage-threading.cpp
index 7ae8fc6b42327961d9e44fa9e99ecc183fa84cdc..8312e98d3c45ae6e53fe0d0b0543eee132687fe2 100644 (file)
@@ -450,7 +450,7 @@ void setup_bonded_threading(bonded_threading_t *bt,
             if (gmx_debug_at)
             {
 #if BITMASK_SIZE <= 64 //move into bitmask when it is C++
-                std::string flags = gmx::formatString("%x", *mask);
+                std::string flags = gmx::formatString("%lx", *mask);
 #else
                 std::string flags = gmx::formatAndJoin(*mask,
                                                        *mask+BITMASK_ALEN,