]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ftepp.c
Make it compile as C++ code too
[xonotic/gmqcc.git] / ftepp.c
diff --git a/ftepp.c b/ftepp.c
index 9d0fed9c0e931373779e638a66457c78a2b733bc..233dee5150eac82f3dbca12da9d1d28e85cbb6eb 100644 (file)
--- a/ftepp.c
+++ b/ftepp.c
@@ -312,7 +312,7 @@ static GMQCC_INLINE void ftepp_update_output_condition(ftepp_t *ftepp)
 
 static GMQCC_INLINE ppmacro* ftepp_macro_find(ftepp_t *ftepp, const char *name)
 {
-    return util_htget(ftepp->macros, name);
+    return (ppmacro*)util_htget(ftepp->macros, name);
 }
 
 static GMQCC_INLINE void ftepp_macro_delete(ftepp_t *ftepp, const char *name)