From fef26592adba3689c9c895b17290c9569d920d22 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Sat, 13 May 2006 01:57:14 +0000 Subject: Fixed a inconsistancy between versions... --- src/serializertext.cpp | 2 +- src/serializertext.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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() } } -void SerializerText::write(void * pData, int32_t nSize) +void SerializerText::write(const void * pData, int32_t nSize) { fwrite(pData, nSize, 1, fhFile); 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: virtual void close(); - virtual void write(void *, int32_t); + virtual void write(const void *, int32_t); virtual void read(void *, int32_t); virtual Serializer &operator<<(bool); -- cgit v1.2.3