forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitd26a810
committed
Use an unsigned char for bool if we don't use the native bool.
On (rare) platforms where sizeof(bool) > 1, we need to use our ownbool, but imported c99 code (such as Ryu) may want to use bool valuesas array subscripts, which elicits warnings if bool is defined aschar. Using unsigned char instead should work just as well for ourpurposes, and avoid such warnings.Per buildfarm members prariedog and locust.1 parente04a390 commitd26a810
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
305 | 305 |
| |
306 | 306 |
| |
307 | 307 |
| |
308 |
| - | |
| 308 | + | |
309 | 309 |
| |
310 | 310 |
| |
311 | 311 |
| |
|
0 commit comments
Comments
(0)