projects
/
cparser
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix a bunch of warnings (reported by cparser)
[cparser]
/
attribute.c
diff --git
a/attribute.c
b/attribute.c
index
651c6ee
..
3e2101b
100644
(file)
--- a/
attribute.c
+++ b/
attribute.c
@@
-227,7
+227,7
@@
static void handle_attribute_aligned(const attribute_t *attribute,
break;
case ENTITY_STRUCT:
case ENTITY_UNION:
- if (alignment > entity->compound.alignment) {
+ if (alignment >
(int)
entity->compound.alignment) {
entity->compound.alignment = alignment;
}
break;