aboutsummaryrefslogtreecommitdiff
path: root/engines/cruise/stringSupport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cruise/stringSupport.cpp')
-rw-r--r--engines/cruise/stringSupport.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/engines/cruise/stringSupport.cpp b/engines/cruise/stringSupport.cpp
index 8e9a5fa5ac..1421ba7943 100644
--- a/engines/cruise/stringSupport.cpp
+++ b/engines/cruise/stringSupport.cpp
@@ -26,24 +26,24 @@
namespace Cruise {
-void strcpyuint8(void* dest, void* source)
+void strcpyuint8(void* dest, const void* source)
{
- strcpy((char*)dest,(char*)source);
+ strcpy((char*)dest,(const char*)source);
}
-void strcatuint8(void* dest, void* source)
+void strcatuint8(void* dest, const void* source)
{
- strcat((char*)dest,(char*)source);
+ strcat((char*)dest,(const char*)source);
}
-uint8 strcmpuint8(void* string1, void* string2)
+uint8 strcmpuint8(const void* string1, const void* string2)
{
return strcmp((char*)string1,(char*)string2);
}
-FILE* fopenuint8(void* name, void* param)
+FILE* fopenuint8(void* name, const void* param)
{
- return fopen((char*)name,(char*)param);
+ return fopen((char*)name,(const char*)param);
}
} // End of namespace Cruise