diff options
author | Vadim B. Mikheev <vadim4o@yahoo.com> | 1996-12-14 07:56:05 +0000 |
---|---|---|
committer | Vadim B. Mikheev <vadim4o@yahoo.com> | 1996-12-14 07:56:05 +0000 |
commit | 4556a50cf844dc61bda81eb109dd116dcdbe0412 (patch) | |
tree | 43b75706ebdbef29798e91249dc08d269a21d165 /src/include/regex/regex.h | |
parent | 14ad4352942cd1459334052cee64b0846f40cac1 (diff) | |
download | postgresql-4556a50cf844dc61bda81eb109dd116dcdbe0412.tar.gz postgresql-4556a50cf844dc61bda81eb109dd116dcdbe0412.zip |
Avoiding:
cc1: warnings being treated as errors
datum.c: In function `DatumGetSize':
datum.c:57: warning: unsigned value >= 0 is always 1
gmake[3]: *** [datum.o] Error 1
There 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)) {
Diffstat (limited to 'src/include/regex/regex.h')
0 files changed, 0 insertions, 0 deletions