projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* src/SDCCicode.c (geniCodeAdd, geniCodeArray): use char for array offset if possible
[fw/sdcc]
/
src
/
SDCCast.c
diff --git
a/src/SDCCast.c
b/src/SDCCast.c
index 9e49cd43c0eb7be2cf5f10f357bcd094e5b45687..dcddefdbf81827cf0c7d4d7c65d46720d8f01753 100644
(file)
--- a/
src/SDCCast.c
+++ b/
src/SDCCast.c
@@
-2239,7
+2239,7
@@
getLeftResultType (ast *tree, RESULT_TYPE resultType)
case '[':
if (!IS_ARRAY (LTYPE (tree)))
return resultType;
- if (DCL_ELEM (LTYPE (tree)) > 0 && DCL_ELEM (LTYPE (tree)) <= 25
6
)
+ if (DCL_ELEM (LTYPE (tree)) > 0 && DCL_ELEM (LTYPE (tree)) <= 25
5
)
return RESULT_TYPE_CHAR;
return resultType;
default: