summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);