diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2007-10-06 13:17:45 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2007-10-06 13:17:45 +0000 |
commit | 259ec263b5ce971fd28f910dd04def2f5758c792 (patch) | |
tree | 4c9ce039f13a220c618b1324bde3b29d26fb2309 /usr.bin/pcc | |
parent | 79351fe42258544e9362cd3d4a737503dbe5ea43 (diff) |
_Bool is also a type, don't discrimnate against it; ok ragge@
Diffstat (limited to 'usr.bin/pcc')
-rw-r--r-- | usr.bin/pcc/arch/x86/local.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/pcc/arch/x86/local.c b/usr.bin/pcc/arch/x86/local.c index ab5290b82e9..7d26e8d00c2 100644 --- a/usr.bin/pcc/arch/x86/local.c +++ b/usr.bin/pcc/arch/x86/local.c @@ -1,4 +1,4 @@ -/* $OpenBSD: local.c,v 1.4 2007/10/05 15:58:23 ragge Exp $ */ +/* $OpenBSD: local.c,v 1.5 2007/10/06 13:17:44 otto Exp $ */ /* * Copyright (c) 2003 Anders Magnusson (ragge@ludd.luth.se). * All rights reserved. @@ -45,6 +45,7 @@ toolarge(TWORD t, CONSZ con) #define UCHK(i) case i: if (ucon > MAX_##i) return 1; break SCHK(INT); SCHK(SHORT); + case BOOL: SCHK(CHAR); UCHK(UNSIGNED); UCHK(USHORT); |