diff options
author | Mike Buland <eichlan@xagasoft.com> | 2006-05-13 01:57:14 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2006-05-13 01:57:14 +0000 |
commit | fef26592adba3689c9c895b17290c9569d920d22 (patch) | |
tree | d3fdc651511f8427965f0d55295d8b12167e6fb2 /src | |
parent | eb71d88041ccbb0aec3532f9b1aa40e956e948c2 (diff) | |
download | libbu++-fef26592adba3689c9c895b17290c9569d920d22.tar.gz libbu++-fef26592adba3689c9c895b17290c9569d920d22.tar.bz2 libbu++-fef26592adba3689c9c895b17290c9569d920d22.tar.xz libbu++-fef26592adba3689c9c895b17290c9569d920d22.zip |
Fixed a inconsistancy between versions...
Diffstat (limited to 'src')
-rw-r--r-- | src/serializertext.cpp | 2 | ||||
-rw-r--r-- | src/serializertext.h | 2 |
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 | ||
38 | void SerializerText::write(void * pData, int32_t nSize) | 38 | void 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); |