--- src/vxlog/type-to-string.h.orig 2018-07-08 08:39:58 UTC +++ src/vxlog/type-to-string.h @@ -62,7 +62,7 @@ class SignChecker { public: template static bool NumberToString(const T &value, char *str, size_t len) { - int res = snprintf(str, len, "%"PRId64, static_cast(value)); + int res = snprintf(str, len, "%" PRId64, static_cast(value)); if ((res < 0) || (static_cast(res) == len)) return false; return true; } @@ -73,7 +73,7 @@ class SignChecker { public: template static bool NumberToString(const T &value, char *str, size_t len) { - int res = snprintf(str, len, "%"PRIu64, static_cast(value)); + int res = snprintf(str, len, "%" PRIu64, static_cast(value)); if ((res < 0) || (static_cast(res) == len)) return false; return true; }