From ab2aea44479fd6f519bccd651a37f30e792b7593 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 29 Jan 2007 22:51:58 +0000 Subject: preparatory patch for -Wwrite-strings #4 --- modutils/insmod.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modutils') diff --git a/modutils/insmod.c b/modutils/insmod.c index 241db45e8..edbdfab0e 100644 --- a/modutils/insmod.c +++ b/modutils/insmod.c @@ -2540,7 +2540,7 @@ new_process_module_arguments(struct obj_file *f, int argc, char **argv) } else { /* last string */ str = q; - q = ""; + q = (char*)""; } } -- cgit v1.2.3