projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08f4e9c
)
While our semantics of _Bool are wrong, at least make it the right size (for most...
author
Christoph Mallon
<christoph.mallon@gmx.de>
Fri, 24 Oct 2008 17:30:32 +0000
(17:30 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Fri, 24 Oct 2008 17:30:32 +0000
(17:30 +0000)
[r23175]
type.c
patch
|
blob
|
history
diff --git
a/type.c
b/type.c
index
56e0af5
..
5b7006f
100644
(file)
--- a/
type.c
+++ b/
type.c
@@
-173,7
+173,9
@@
void init_types(void)
props[ATOMIC_TYPE_LONGLONG].alignment = 4;
props[ATOMIC_TYPE_ULONGLONG].alignment = 4;
- props[ATOMIC_TYPE_BOOL] = props[ATOMIC_TYPE_UINT];
+ /* TODO: make this configurable for platforms which do not use byte sized
+ * bools. */
+ props[ATOMIC_TYPE_BOOL] = props[ATOMIC_TYPE_UCHAR];
}
void exit_types(void)