shithub: mc

Download patch

ref: 88825887b1f818f08b23b0e54e2a88858bac903f
parent: 9cbbff954e6150de5c2e96bf27c560f005d995f0
author: Ori Bernstein <[email protected]>
date: Tue Jul 24 20:19:17 EDT 2012

Make the decl id a size_t

    We're using size_t in the printf format.

--- a/parse/parse.h
+++ b/parse/parse.h
@@ -150,7 +150,7 @@
             Op op;
             Type *type;
             int isconst;
-            long   did; /* for Ovar, we want a mapping to the decl id */
+            size_t did; /* for Ovar, we want a mapping to the decl id */
             size_t nargs;
             Node **args;
         } expr;