From: Bruce Momjian Date: Wed, 29 Sep 2010 02:40:26 +0000 (+0000) Subject: Have pg_upgrade use strtoul(), not strtol(). X-Git-Tag: REL9_0_1~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3689583d5adff94257a6a6eca9dcd2d9bd60ca6b;p=postgresql Have pg_upgrade use strtoul(), not strtol(). --- diff --git a/contrib/pg_upgrade/util.c b/contrib/pg_upgrade/util.c index 8ee39be03e..52b81c200b 100644 --- a/contrib/pg_upgrade/util.c +++ b/contrib/pg_upgrade/util.c @@ -269,5 +269,5 @@ getErrorText(int errNum) unsigned int str2uint(const char *str) { - return strtol(str, NULL, 10); + return strtoul(str, NULL, 10); }