* src/SDCCicode.c (geniCodeAdd, geniCodeArray): use char for array offset if possible
[fw/sdcc] / src / z80 / main.c
index 3706b1721dab148f1467afebb71a76328b75cd48..3de32035b08cdc2eb58c6ed6e628167a7fd347d7 100644 (file)
@@ -119,7 +119,7 @@ _reset_regparm (void)
 }
 
 static int
-_reg_parm (sym_link * l)
+_reg_parm (sym_link * l, bool reentrant)
 {
   if (options.noRegParams) 
     {
@@ -151,7 +151,7 @@ _process_pragma (const char *sz)
     strncpy (buffer, sz + 5, sizeof (buffer));
     buffer[sizeof (buffer) - 1 ] = '\0';
     chomp (buffer);
-    if (isdigit (buffer[0]))
+    if (isdigit ((unsigned char)buffer[0]))
     {
 
     }
@@ -159,7 +159,7 @@ _process_pragma (const char *sz)
     {
       strcpy (buffer, "HOME");
     }
-    if (isdigit (buffer[0]))
+    if (isdigit ((unsigned char)buffer[0]))
     {
          /* Arg was a bank number.  Handle in an ASM independent
             way. */
@@ -614,6 +614,7 @@ PORT z80_port =
     "HOME",
     NULL, /* xidata */
     NULL, /* xinit */
+    NULL, /* const_name */
     NULL,
     NULL,
     1
@@ -730,6 +731,7 @@ PORT gbz80_port =
     "HOME",
     NULL, /* xidata */
     NULL, /* xinit */
+    NULL, /* const_name */
     NULL,
     NULL,
     1