Commit 1373ba55 authored by Peter Eisentraut's avatar Peter Eisentraut

Add const qualifier

New code introduced in 050710b3.  The
lack of const is not currently a compiler warning, but it's nice to
have for consistency with surrounding code.
parent 554ca695
...@@ -432,7 +432,7 @@ ECPGis_noind_null(enum ECPGttype type, const void *ptr) ...@@ -432,7 +432,7 @@ ECPGis_noind_null(enum ECPGttype type, const void *ptr)
return true; return true;
break; break;
case ECPGt_bytea: case ECPGt_bytea:
if (((struct ECPGgeneric_bytea *) ptr)->len == 0) if (((const struct ECPGgeneric_bytea *) ptr)->len == 0)
return true; return true;
break; break;
case ECPGt_decimal: case ECPGt_decimal:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment