summarylogtreecommitdiffstats
path: root/in_word_set.patch
diff options
context:
space:
mode:
Diffstat (limited to 'in_word_set.patch')
-rw-r--r--in_word_set.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/in_word_set.patch b/in_word_set.patch
new file mode 100644
index 00000000000..6a127ef076b
--- /dev/null
+++ b/in_word_set.patch
@@ -0,0 +1,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);