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) const char * w32_get_string_resource (void *v_rdb, const char *name, const char *class) { - const char *rdb = v_rdb; + const char *rdb = *(char **) v_rdb; if (rdb) {