summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-09-22 21:06:05 +0000
committerMike Buland <eichlan@xagasoft.com>2006-09-22 21:06:05 +0000
commit25ba18d85897e69cafcf2e2f4772ec693d46c9a0 (patch)
treeab646c218156839ae696e1bb6d9b091478e0c8d5 /src
parent6b9bb6bf64f845d80965716df257afc2885a3690 (diff)
downloadlibbu++-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.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';