Browse Source

Avoid PRIx64 format - we are 64bit only, so lx will do.

Fixes RHEL6 compilation problems around inttypes inclusion / definition.

Change-Id: I4f4647c7954c32d90dad94a43c630af24d551d78
Michael Meeks 2 months ago
parent
commit
79637655f6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      common/Util.hpp

+ 1 - 1
common/Util.hpp

@@ -761,7 +761,7 @@ int main(int argc, char**argv)
     inline void vectorAppendHex(std::vector<char> &vector, uint64_t number)
     {
         char output[32];
-        sprintf(output, "%" PRIx64, number);
+        sprintf(output, "%lx", number);
         vectorAppend(vector, output);
     }