Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc4f386f

Browse files
committed
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 gota lot other warnings with -Wtype-limits anyway (at least with my version ofgcc).Andres Freund
1 parent538ecfa commitc4f386f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/pl/plpython/plpy_procedure.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -493,8 +493,8 @@ PLy_procedure_munge_source(const char *name, const char *src)
493493
char*mrc,
494494
*mp;
495495
constchar*sp;
496-
size_tmlen,
497-
plen;
496+
size_tmlen;
497+
intplen;
498498

499499
/*
500500
* room for function source and the def statement

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp