From: Helmut Grohne Date: Wed, 29 Jul 2009 20:36:45 +0000 (+0200) Subject: converted further void**ptr usages to union X-Git-Url: http://git.maemo.org/git/?p=uzbl-mobile;a=commitdiff_plain;h=69b825b098d7181b04886f13183c098ca20dcf3a converted further void**ptr usages to union --- diff --git a/uzbl.c b/uzbl.c index 6127680..ea2e910 100644 --- a/uzbl.c +++ b/uzbl.c @@ -1908,8 +1908,8 @@ set_var_value(const gchar *name, gchar *val) { c->func = NULL; c->writeable = 1; buf = expand(val, 0); - c->ptr = malloc(sizeof(char *)); - *c->ptr = buf; + c->ptr.s = malloc(sizeof(char *)); + *c->ptr.s = buf; g_hash_table_insert(uzbl.comm.proto_var, g_strdup(name), (gpointer) c); }