Commit d2e71ff7 authored by Heikki Linnakangas's avatar Heikki Linnakangas

Silence compiler warning in assertion-enabled builds.

With -Wtype-limits, gcc correctly points out that size_t can never be < 0.
Backpatch to 9.3 and 9.2. It's been like this forever, but in <= 9.1 you got
a lot other warnings with -Wtype-limits anyway (at least with my version of
gcc).

Andres Freund
parent cce5d851
...@@ -494,8 +494,8 @@ PLy_procedure_munge_source(const char *name, const char *src) ...@@ -494,8 +494,8 @@ PLy_procedure_munge_source(const char *name, const char *src)
char *mrc, char *mrc,
*mp; *mp;
const char *sp; const char *sp;
size_t mlen, size_t mlen;
plen; int plen;
/* /*
* room for function source and the def statement * room for function source and the def statement
......
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