From 1ef9783c3faed6a18e8cc2fba34f48b50bedd08a Mon Sep 17 00:00:00 2001 From: John Glover Date: Sat, 30 Jun 2012 18:48:33 +0100 Subject: [sndobj] Make ErrorMessage method const char* --- src/sndobj/SndIO.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sndobj/SndIO.h') diff --git a/src/sndobj/SndIO.h b/src/sndobj/SndIO.h index ad9456e..78a9ac0 100644 --- a/src/sndobj/SndIO.h +++ b/src/sndobj/SndIO.h @@ -128,7 +128,7 @@ class SndIO { virtual ~SndIO(); virtual short Read(); virtual short Write(); - virtual char* ErrorMessage(); + virtual const char* ErrorMessage(); int Error() { return m_error; } }; -- cgit v1.2.3