]> Shamusworld >> Repos - rmac/commitdiff
Possible fix for bug #68 (crash when running on ARM).
authorShamus Hammons <jlhamm@acm.org>
Thu, 24 Dec 2015 20:36:53 +0000 (14:36 -0600)
committerShamus Hammons <jlhamm@acm.org>
Thu, 24 Dec 2015 20:36:53 +0000 (14:36 -0600)
token.c
version.h

diff --git a/token.c b/token.c
index 66399d6c5078e49be637ce3cdc86b4eb4a868526..cd3c2ffc42aa4353adb985f17a58d6f26365f6a4 100644 (file)
--- a/token.c
+++ b/token.c
@@ -1213,12 +1213,12 @@ if (debug) printf("TokenizeLine: Calling fpop() from SRC_IREPT...\n");
                                *p++ = EOS;
                                continue;
                        case '$':               // $, hex constant
-                               if ((int)chrtab[*ln] & HDIGIT)
+                               if (chrtab[*ln] & HDIGIT)
                                {
                                        v = 0;
 
                                        // Parse the hex value
-                                       while ((int)hextab[*ln] >= 0)
+                                       while (hextab[*ln] >= 0)
                                                v = (v << 4) + (int)hextab[*ln++];
 
                                        // ggn: Okay, some comments here are in order I think....
index 906bea9921e5b5767ab40fdd807da7b2b88432bf..7e04041a6fd21d9194913c86fcf09456d459dc1d 100644 (file)
--- a/version.h
+++ b/version.h
@@ -13,6 +13,6 @@
 
 #define MAJOR   1              // Major version number
 #define MINOR   4              // Minor version number
-#define PATCH   6              // Patch release number
+#define PATCH   7              // Patch release number
 
 #endif // __VERSION_H__