From a6c52d80a21b53b7e43b77d1b3820770bc204b08 Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Fri, 23 Apr 2010 15:38:08 +0200 Subject: [PATCH] Avoid compiler warning. --- src/buildvm_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/buildvm_lib.c b/src/buildvm_lib.c index e77240c5..c98d6312 100644 --- a/src/buildvm_lib.c +++ b/src/buildvm_lib.c @@ -23,7 +23,7 @@ enum { REGFUNC_NOREGUV }; -static void libdef_name(char *p, int kind) +static void libdef_name(const char *p, int kind) { size_t n = strlen(p); if (kind != LIBINIT_STRING) {