Changeset: 70987a850b3e for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=70987a850b3e
Modified Files:
        monetdb5/mal/mal_parser.c
Branch: default
Log Message:

Don't overdo it with size_t.


diffs (21 lines):

diff --git a/monetdb5/mal/mal_parser.c b/monetdb5/mal/mal_parser.c
--- a/monetdb5/mal/mal_parser.c
+++ b/monetdb5/mal/mal_parser.c
@@ -650,7 +650,7 @@ handleInts:
  * It would make more sense for tpe parameter to be an int, but simpleTypeId 
returns a size_t
  */
 static int
-typeAlias(Client cntxt, size_t tpe)
+typeAlias(Client cntxt, int tpe)
 {
        int t;
 
@@ -700,7 +700,7 @@ parseTypeId(Client cntxt, int defaultTyp
 {
        int i = TYPE_any, kt = 0;
        char *s = CURRENT(cntxt);
-       size_t tt;
+       int tt;
 
        if (s[0] == ':' && s[1] == 'b' && s[2] == 'a' && s[3] == 't' && s[4] == 
'[') {
                /* parse :bat[:oid,:type] */
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to