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
This commit is contained in:
Heikki Linnakangas 2013-07-02 17:23:42 +03:00
parent cce5d851ed
commit d2e71ff757

View File

@ -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