mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
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:
parent
cce5d851ed
commit
d2e71ff757
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user