From 69b825b098d7181b04886f13183c098ca20dcf3a Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Wed, 29 Jul 2009 22:36:45 +0200 Subject: [PATCH] converted further void**ptr usages to union --- uzbl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- 1.7.9.5