diff options
Diffstat (limited to 'src/sndobj/SndIO.cpp')
-rw-r--r-- | src/sndobj/SndIO.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/sndobj/SndIO.cpp b/src/sndobj/SndIO.cpp index 6f79feb..dfa790c 100644 --- a/src/sndobj/SndIO.cpp +++ b/src/sndobj/SndIO.cpp @@ -115,9 +115,9 @@ SndIO::SndIO(short channels, short bits, SndObj** inputlist, return 1; } - char* SndIO::ErrorMessage(){ +const char* SndIO::ErrorMessage(){ - char* message; + const char* message; switch(m_error){ @@ -148,7 +148,4 @@ SndIO::SndIO(short channels, short bits, SndObj** inputlist, } return message; - - } - - +} |