Fixed some warnings when building in MSVC
authorjesusc <jesusc@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Mon, 4 Aug 2003 16:46:29 +0000 (16:46 +0000)
committerjesusc <jesusc@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Mon, 4 Aug 2003 16:46:29 +0000 (16:46 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2804 4a8a32a2-be11-0410-ad9d-d568d2c75423

as/mcs51/asdata.c
as/mcs51/asm.h
as/z80/asdata.c
as/z80/asm.h

index c6ed0b44806f4e82ea85656a8a37fc5da074bc76..166575209bfe2b97104b008c2d826a673f961f98 100644 (file)
@@ -246,7 +246,7 @@ FILE        *ifp[MAXINC];   /*      array of include-file file handles
  *     array of character types, one per
  *     ASCII character
  */
-char   ctype[128] = {
+unsigned char  ctype[128] = {
 /*NUL*/        ILL,    ILL,    ILL,    ILL,    ILL,    ILL,    ILL,    ILL,
 /*BS*/ ILL,    SPACE,  ILL,    ILL,    SPACE,  ILL,    ILL,    ILL,
 /*DLE*/        ILL,    ILL,    ILL,    ILL,    ILL,    ILL,    ILL,    ILL,
index aa33d254b92c19d83b4ca197baade75aa3a861a3..c81374ab30bee16c685a78f5332698509a3df183 100644 (file)
@@ -500,7 +500,7 @@ extern      FILE    *sfp[MAXFIL];   /*      array of assembler-source file handles
                                 */
 extern FILE    *ifp[MAXINC];   /*      array of include-file file handles
                                 */
-extern char    ctype[128];     /*      array of character types, one per
+extern unsigned char   ctype[128];     /*      array of character types, one per
                                 *      ASCII character
                                 */
 
index 26b621e25fa45f4a71a510c8113b951433bf0cfd..2daf953bd34de69eaf445e15f2d548ac2766c1bf 100644 (file)
@@ -235,7 +235,7 @@ FILE        *ifp[MAXINC];   /*      array of include-file file handles
  *     array of character types, one per
  *     ASCII character
  */
-char   ctype[128] = {
+unsigned char  ctype[128] = {
 /*NUL*/        ILL,    ILL,    ILL,    ILL,    ILL,    ILL,    ILL,    ILL,
 /*BS*/ ILL,    SPACE,  ILL,    ILL,    SPACE,  ILL,    ILL,    ILL,
 /*DLE*/        ILL,    ILL,    ILL,    ILL,    ILL,    ILL,    ILL,    ILL,
index 48e0500fb98e59b24de9e8c92a8adbda7d0e69bc..d179177a2c53ea38ded1563d4ae9a8e0939a3674 100644 (file)
@@ -432,7 +432,7 @@ extern      FILE    *sfp[MAXFIL];   /*      array of assembler-source file handles
                                 */
 extern FILE    *ifp[MAXINC];   /*      array of include-file file handles
                                 */
-extern char    ctype[128];     /*      array of character types, one per
+extern unsigned char   ctype[128];     /*      array of character types, one per
                                 *      ASCII character
                                 */