Add const qualifier

New code introduced in 050710b36964dee7e1b2bf6b5ef00041fd5d2787.  The
lack of const is not currently a compiler warning, but it's nice to
have for consistency with surrounding code.
This commit is contained in:
Peter Eisentraut 2019-02-22 09:01:19 +01:00
parent 554ca6954e
commit 1373ba55c9

View File

@ -432,7 +432,7 @@ ECPGis_noind_null(enum ECPGttype type, const void *ptr)
return true;
break;
case ECPGt_bytea:
if (((struct ECPGgeneric_bytea *) ptr)->len == 0)
if (((const struct ECPGgeneric_bytea *) ptr)->len == 0)
return true;
break;
case ECPGt_decimal: