Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1373ba5

Browse files
committed
Add const qualifier
New code introduced in 050710b. The lack of const is not currently a compiler warning, but it's nice to have for consistency with surrounding code.
1 parent 554ca69 commit 1373ba5

File tree

1 file changed

+1
-1
lines changed
  • src/interfaces/ecpg/ecpglib

1 file changed

+1
-1
lines changed

src/interfaces/ecpg/ecpglib/misc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ ECPGis_noind_null(enum ECPGttype type, const void *ptr)
432432
return true;
433433
break;
434434
case ECPGt_bytea:
435-
if (((struct ECPGgeneric_bytea *) ptr)->len == 0)
435+
if (((const struct ECPGgeneric_bytea *) ptr)->len == 0)
436436
return true;
437437
break;
438438
case ECPGt_decimal:

0 commit comments

Comments
 (0)