From 127211c5f4b25b8032d1043a6840881e4d2a2e15 Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Sat, 25 Jul 2009 22:44:58 +0200 Subject: [PATCH] var_name_to_ptr should have const names --- uzbl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uzbl.c b/uzbl.c index dead7d5..bcc2e60 100644 --- a/uzbl.c +++ b/uzbl.c @@ -98,7 +98,7 @@ typedef const struct { #define PTR_C(var, t, fun) { .ptr = (void*)&(var), .type = TYPE_##t, .dump = 0, .writeable = 0, .func = fun } const struct { - char *name; + const char *name; uzbl_cmdprop cp; } var_name_to_ptr[] = { /* variable name pointer to variable in code type dump callback function */ -- 1.7.9.5