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:
@ -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:
|
||||
|
Reference in New Issue
Block a user