]> de.git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
Fix: ast_value.cvq must be an int, not a bool;
authorWolfgang Bumiller <blub@speed.at>
Sat, 22 Dec 2012 11:30:03 +0000 (12:30 +0100)
committerWolfgang Bumiller <blub@speed.at>
Sat, 22 Dec 2012 11:30:20 +0000 (12:30 +0100)
Fixes #62

ast.h

diff --git a/ast.h b/ast.h
index a7d131c1ae3c558807e48b28bff93d5766f031cb..8b8afd10eb04c3bdf8e052dfad82279695827432 100644 (file)
--- a/ast.h
+++ b/ast.h
@@ -161,7 +161,7 @@ struct ast_value_s
     ast_value  *next;
     */
 
-    bool cvq;     /* const/var qualifier */
+    int  cvq;     /* const/var qualifier */
     bool isfield; /* this declares a field */
     bool hasvalue;
     union {