aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/w32reg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/w32reg.c b/src/w32reg.c
index 844e5613770..99b3973d708 100644
--- a/src/w32reg.c
+++ b/src/w32reg.c
@@ -143,7 +143,7 @@ w32_get_string_resource_1 (const char *name, const char *class, DWORD dwexptype)
143const char * 143const char *
144w32_get_string_resource (void *v_rdb, const char *name, const char *class) 144w32_get_string_resource (void *v_rdb, const char *name, const char *class)
145{ 145{
146 const char *rdb = v_rdb; 146 const char *rdb = *(char **) v_rdb;
147 147
148 if (rdb) 148 if (rdb)
149 { 149 {