summaryrefslogtreecommitdiffstats
path: root/String.c
diff options
context:
space:
mode:
Diffstat (limited to 'String.c')
-rw-r--r--String.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/String.c b/String.c
index e862bff5..e0b981c5 100644
--- a/String.c
+++ b/String.c
@@ -96,7 +96,7 @@ void String_printPointer(void* p) {
printf("%p", p);
}
-inline int String_eq(char* s1, char* s2) {
+inline int String_eq(const char* s1, const char* s2) {
if (s1 == NULL || s2 == NULL) {
if (s1 == NULL && s2 == NULL)
return 1;