Content-Length: 258934 | pFad | http://github.com/postgrespro/postgres_cluster/commit/1373ba55c9b9c9a5e4705daa03643255b4de1519

F9 Add const qualifier · postgrespro/postgres_cluster@1373ba5 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/1373ba55c9b9c9a5e4705daa03643255b4de1519

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy