1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-09 22:41:56 +03:00

Add const qualifier

New code introduced in 050710b369.  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: