summaryrefslogtreecommitdiff
path: root/csim/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'csim/util.c')
-rw-r--r--csim/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/csim/util.c b/csim/util.c
index ef0ae32..c815e8e 100644
--- a/csim/util.c
+++ b/csim/util.c
@@ -35,7 +35,7 @@ t_value read_bool(FILE *stream, t_value *mask) {
return r;
}
-int is_prefix(char *prefix, char *str) {
+int is_prefix(const char *prefix, const char *str) {
while (*prefix) {
if (*prefix != *str) return 0;
prefix++;