summaryrefslogtreecommitdiff
path: root/src/compose.hpp
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-08-15 10:43:00 +0100
committerCarl Hetherington <cth@carlh.net>2016-08-15 10:43:00 +0100
commit015d2c89935d1d7bca38393e8d31e7546fbd496f (patch)
tree437937a4c56349e0a743ca157a2fb2cce70c7e3c /src/compose.hpp
parentec3d1705240f2ce86fb2fbaf0a2fbba5b9fffd2d (diff)
Hack.
Diffstat (limited to 'src/compose.hpp')
-rw-r--r--src/compose.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compose.hpp b/src/compose.hpp
index 9d954d6c..0ab65ba2 100644
--- a/src/compose.hpp
+++ b/src/compose.hpp
@@ -145,7 +145,7 @@ namespace StringPrivate
}
template <>
- inline void write(std::string& s, const int32& obj)
+ inline void write(std::string& s, const int32_t& obj)
{
char buffer[64];
snprintf(buffer, 64, "%" PRId32, obj);
@@ -153,7 +153,7 @@ namespace StringPrivate
}
template <>
- inline void write(std::string& s, const uint32& obj)
+ inline void write(std::string& s, const uint32_t& obj)
{
char buffer[64];
snprintf(buffer, 64, "%d" % PRIu32, obj);