diff options
Diffstat (limited to 'common/stringop.c')
-rw-r--r-- | common/stringop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/stringop.c b/common/stringop.c index 8c8e9aa2..7fb3fe12 100644 --- a/common/stringop.c +++ b/common/stringop.c | |||
@@ -64,7 +64,7 @@ char *lenient_strncat(char *dest, const char *src, size_t len) { | |||
64 | } | 64 | } |
65 | 65 | ||
66 | // strcmp that also handles null pointers. | 66 | // strcmp that also handles null pointers. |
67 | int lenient_strcmp(char *a, char *b) { | 67 | int lenient_strcmp(const char *a, const char *b) { |
68 | if (a == b) { | 68 | if (a == b) { |
69 | return 0; | 69 | return 0; |
70 | } else if (!a) { | 70 | } else if (!a) { |