forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit4556a50
committed
Avoiding:
cc1: warnings being treated as errorsdatum.c: In function `DatumGetSize':datum.c:57: warning: unsigned value >= 0 is always 1gmake[3]: *** [datum.o] Error 1There was: if (byVal) { if (len >= 0 && len <= sizeof(Datum)) {but len has type Size (unsigned int) and so now there is: if (byVal) { if (len <= sizeof(Datum)) {1 parent14ad435 commit4556a50
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
0 commit comments
Comments
(0)