projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
More AVR stuff
[fw/sdcc]
/
src
/
SDCCast.c
diff --git
a/src/SDCCast.c
b/src/SDCCast.c
index f2321e04ddaab8f19f540773619aca83a806af1e..a67b3ba104fedf84584348735d15ee4e327048a3 100644
(file)
--- a/
src/SDCCast.c
+++ b/
src/SDCCast.c
@@
-1756,7
+1756,7
@@
ast *decorateType (ast *tree)
}
if (SPEC_SCLS(tree->left->etype) == S_CODE) {
DCL_TYPE(p) = CPOINTER ;
- DCL_PTR_CONST(p) =
1
;
+ DCL_PTR_CONST(p) =
port->mem.code_ro
;
}
else
if (SPEC_SCLS(tree->left->etype) == S_XDATA)