From: Bruce Momjian Date: Wed, 29 Sep 2010 02:40:25 +0000 (+0000) Subject: Have pg_upgrade use strtoul(), not strtol(). X-Git-Url: http://waps.l3s.uni-hannover.de/gitweb/?a=commitdiff_plain;h=fe61db6f0ceb508357bcddc39b388e2806cf11d0;p=users%2Fhanada%2Fpostgres.git Have pg_upgrade use strtoul(), not strtol(). --- diff --git a/contrib/pg_upgrade/util.c b/contrib/pg_upgrade/util.c index 3f3a4c700d..edd3a45bc9 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); }