diff options
author | Mike Buland <eichlan@xagasoft.com> | 2006-09-22 21:06:05 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2006-09-22 21:06:05 +0000 |
commit | 25ba18d85897e69cafcf2e2f4772ec693d46c9a0 (patch) | |
tree | ab646c218156839ae696e1bb6d9b091478e0c8d5 | |
parent | 6b9bb6bf64f845d80965716df257afc2885a3690 (diff) | |
download | libbu++-25ba18d85897e69cafcf2e2f4772ec693d46c9a0.tar.gz libbu++-25ba18d85897e69cafcf2e2f4772ec693d46c9a0.tar.bz2 libbu++-25ba18d85897e69cafcf2e2f4772ec693d46c9a0.tar.xz libbu++-25ba18d85897e69cafcf2e2f4772ec693d46c9a0.zip |
Fixed something else in the serializer.
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'; |