summarylogtreecommitdiffstats
path: root/in_word_set.patch
blob: 6a127ef076baf0ece96615452b52c3d91b48e0e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Index: flasm/src/keywords.gperf
===================================================================
--- src/keywords.gperf
+++ src/keywords.gperf
@@ -11,7 +11,7 @@ All rights reserved. See LICENSE.TXT for
 #ifdef MEMWATCH
 #include "memwatch.h"
 #endif
-struct keyword *in_word_set(register const char *str, register unsigned int len);
+struct keyword *in_word_set(register const char *str, register size_t len);
 %}
 struct keyword {}
 %%
Index: flasm/src/util.h
===================================================================
--- src/util.h
+++ src/util.h
@@ -47,7 +47,7 @@ struct keyword {
     int token;
 };
 
-extern struct keyword *in_word_set(register const char *str, register unsigned int len);
+extern struct keyword *in_word_set(register const char *str, register size_t len);
 
 void checkByteOrder(void);
 int longintCompare(const void *ap, const void *bp);