diff --git a/xpcom/io/nsLocalFileOS2.cpp b/xpcom/io/nsLocalFileOS2.cpp index 08f73fedb5bd..7b196fec3259 100644 --- a/xpcom/io/nsLocalFileOS2.cpp +++ b/xpcom/io/nsLocalFileOS2.cpp @@ -2235,9 +2235,9 @@ CreateDirectoryA( PSZ resolvedPath, PEAOP2 ppEABuf) static int isleadbyte(int c) { static BOOL bDBCSFilled=FALSE; - static BYTE DBCSInfo[12] = { 0 }; /* According to the Control Program Guide&Ref, + static CHAR DBCSInfo[12] = { 0 }; /* According to the Control Program Guide&Ref, 12 bytes is sufficient */ - BYTE *curr; + CHAR *curr; BOOL retval = FALSE; if( !bDBCSFilled ) {