diff options
Diffstat (limited to 'src/w32reg.c')
-rw-r--r-- | src/w32reg.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/w32reg.c b/src/w32reg.c index e8201d3c4f1..844e5613770 100644 --- a/src/w32reg.c +++ b/src/w32reg.c @@ -22,6 +22,7 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */ #include <config.h> #include "lisp.h" #include "blockinput.h" +#include "w32term.h" #include <stdio.h> @@ -142,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 = *((const char *)v_rdb); + const char *rdb = v_rdb; if (rdb) { |