summaryrefslogtreecommitdiff
path: root/src/sndobj/HammingTable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sndobj/HammingTable.cpp')
-rw-r--r--src/sndobj/HammingTable.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/sndobj/HammingTable.cpp b/src/sndobj/HammingTable.cpp
index 20c37b5..f63c43c 100644
--- a/src/sndobj/HammingTable.cpp
+++ b/src/sndobj/HammingTable.cpp
@@ -77,10 +77,10 @@ HammingTable :: MakeTable(){
///////////////// ERROR HANDLING ///////////////////////////////
-char*
+const char*
HammingTable::ErrorMessage(){
- char* message;
+ const char* message;
switch(m_error){
@@ -95,5 +95,4 @@ HammingTable::ErrorMessage(){
}
return message;
-
}