projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* src/SDCCsymt.c (comparePtrType): fixed bug 1921073
[fw/sdcc]
/
src
/
SDCCsymt.c
diff --git
a/src/SDCCsymt.c
b/src/SDCCsymt.c
index d422daf5061e3c6af11810f6a3afb57349f7ad17..95228673de2130475328ddd33c044ce59e380624 100644
(file)
--- a/
src/SDCCsymt.c
+++ b/
src/SDCCsymt.c
@@
-2050,7
+2050,7
@@
comparePtrType (sym_link * dest, sym_link * src, bool bMustCast)
int res;
if (IS_VOID (src->next) && IS_VOID (dest->next))
- return 1;
+ return
bMustCast ? -1 :
1;
if ((IS_VOID (src->next) && !IS_VOID (dest->next)) ||
(!IS_VOID (src->next) && IS_VOID (dest->next)) )
return -1;