summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/serializer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serializer.cpp b/src/serializer.cpp
index 8c9977d..e03a9a4 100644
--- a/src/serializer.cpp
+++ b/src/serializer.cpp
@@ -192,7 +192,7 @@ Serializer &operator<<( Serializer &ar, std::string &s )
192 192
193Serializer &operator>>( Serializer &ar, std::string &s ) 193Serializer &operator>>( Serializer &ar, std::string &s )
194{ 194{
195 (uint32_t) l; 195 uint32_t l;
196 ar >> l; 196 ar >> l;
197 char *tmp = new char[l+1]; 197 char *tmp = new char[l+1];
198 tmp[l] = '\0'; 198 tmp[l] = '\0';