From 55043310fc5c2b16f45f688067abc47d6806c898 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sun, 27 Feb 2011 00:31:52 +0900 Subject: [PATCH] Fix the QFO_POINTER macro --- tools/qfcc/include/obj_file.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/qfcc/include/obj_file.h b/tools/qfcc/include/obj_file.h index 81687bc41..3a1a84bd5 100644 --- a/tools/qfcc/include/obj_file.h +++ b/tools/qfcc/include/obj_file.h @@ -408,7 +408,7 @@ enum { \hideinitializer */ -#define QFO_POINTER(q, s, t, o) ((t *)&QFO_var (q, s, o)) +#define QFO_POINTER(q, s, t, o) ((t *)(char *)&QFO_var (q, s, integer, o)) /** Access a structure variable in the object file. Can be assigned to.