diff options
Diffstat (limited to '')
-rw-r--r-- | src/serializer.cpp | 2 |
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 | ||
193 | Serializer &operator>>( Serializer &ar, std::string &s ) | 193 | Serializer &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'; |