From 25ba18d85897e69cafcf2e2f4772ec693d46c9a0 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 22 Sep 2006 21:06:05 +0000 Subject: Fixed something else in the serializer. --- src/serializer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) Serializer &operator>>( Serializer &ar, std::string &s ) { - (uint32_t) l; + uint32_t l; ar >> l; char *tmp = new char[l+1]; tmp[l] = '\0'; -- cgit v1.2.3