common/Util.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 79637655f68dedb6d97042daf82a880673f70c01 Author: Michael Meeks <michael.me...@collabora.com> AuthorDate: Thu Sep 5 22:51:25 2019 +0100 Commit: Michael Meeks <michael.me...@collabora.com> CommitDate: Thu Sep 5 22:53:09 2019 +0100
Avoid PRIx64 format - we are 64bit only, so lx will do. Fixes RHEL6 compilation problems around inttypes inclusion / definition. Change-Id: I4f4647c7954c32d90dad94a43c630af24d551d78 diff --git a/common/Util.hpp b/common/Util.hpp index 52b960c82..c1a5141db 100644 --- a/common/Util.hpp +++ b/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); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits