projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* as/hc08/lkaomf51.c (OutputName): made name unsigned char,
[fw/sdcc]
/
src
/
pic
/
pcode.c
diff --git
a/src/pic/pcode.c
b/src/pic/pcode.c
index 91886caaa23680e8f502859c421922c2c7cce3bf..5128c5ad85a8636f87c767f2fe5bb34699f9ac62 100644
(file)
--- a/
src/pic/pcode.c
+++ b/
src/pic/pcode.c
@@
-1397,7
+1397,7
@@
void pCodeInitRegisters(void)
/* */
/*-----------------------------------------------------------------*/
/* */
/*-----------------------------------------------------------------*/
-int mnem2key(char const *mnem)
+int mnem2key(
unsigned
char const *mnem)
{
int key = 0;
{
int key = 0;
@@
-2067,7
+2067,7
@@
pCode *newpCodeAsmDir(char *asdir, char *argfmt, ...)
if(asdir && *asdir) {
if(asdir && *asdir) {
- while(isspace(
*asdir))asdir++;
// strip any white space from the beginning
+ while(isspace(
(unsigned char)*asdir))asdir++;
// strip any white space from the beginning
pcad->directive = Safe_strdup( asdir );
}
pcad->directive = Safe_strdup( asdir );
}
@@
-2080,7
+2080,7
@@
pCode *newpCodeAsmDir(char *asdir, char *argfmt, ...)
va_end(ap);
va_end(ap);
- while(isspace(*lbp))lbp++;
+ while(isspace(
(unsigned char)
*lbp))lbp++;
if(lbp && *lbp)
pcad->arg = Safe_strdup( lbp );
if(lbp && *lbp)
pcad->arg = Safe_strdup( lbp );