projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
More build fixes.
[dcpomatic.git]
/
src
/
lib
/
compose.hpp
diff --git
a/src/lib/compose.hpp
b/src/lib/compose.hpp
index b78a8b9ebb172c95aa3f887c9134e9ee2afcf55e..2d22947178703a71deb702e3faedeb6fbd129ca2 100644
(file)
--- a/
src/lib/compose.hpp
+++ b/
src/lib/compose.hpp
@@
-124,7
+124,11
@@
namespace StringPrivate
inline void write(std::string& s, const int64_t& obj)
{
char buffer[64];
+#ifdef DCPOMATIC_WINDOWS
+ __mingw_snprintf(buffer, 64, "%" PRId64, obj);
+#else
snprintf(buffer, 64, "%" PRId64, obj);
+#endif
s += buffer;
}