summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/serializertext.cpp2
-rw-r--r--src/serializertext.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/serializertext.cpp b/src/serializertext.cpp
index c650eae..2933e86 100644
--- a/src/serializertext.cpp
+++ b/src/serializertext.cpp
@@ -35,7 +35,7 @@ void SerializerText::close()
35 } 35 }
36} 36}
37 37
38void SerializerText::write(void * pData, int32_t nSize) 38void SerializerText::write(const void * pData, int32_t nSize)
39{ 39{
40 fwrite(pData, nSize, 1, fhFile); 40 fwrite(pData, nSize, 1, fhFile);
41 fprintf(fhFile, "\n"); 41 fprintf(fhFile, "\n");
diff --git a/src/serializertext.h b/src/serializertext.h
index 992a838..c3fe202 100644
--- a/src/serializertext.h
+++ b/src/serializertext.h
@@ -13,7 +13,7 @@ public:
13 13
14 virtual void close(); 14 virtual void close();
15 15
16 virtual void write(void *, int32_t); 16 virtual void write(const void *, int32_t);
17 virtual void read(void *, int32_t); 17 virtual void read(void *, int32_t);
18 18
19 virtual Serializer &operator<<(bool); 19 virtual Serializer &operator<<(bool);