]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ast.h
float and double shouldn't be used here, this is what qcfloat_t is for. This fixes...
[xonotic/gmqcc.git] / ast.h
diff --git a/ast.h b/ast.h
index c759a48e95cd2d8098759dec9c5c03835fe9d5e9..05a749ae8e106715dc8569d929b897c232162d41 100644 (file)
--- a/ast.h
+++ b/ast.h
@@ -169,7 +169,7 @@ struct ast_expression_common
  * is like creating a 'float foo', foo serving as the type's name.
  */
 typedef union {
-    double        vfloat;
+    qcfloat_t     vfloat;
     int           vint;
     vec3_t        vvec;
     const char   *vstring;