Have pg_upgrade use strtoul(), not strtol().

This commit is contained in:
Bruce Momjian 2010-09-29 02:40:26 +00:00
parent b757f18f2f
commit 3689583d5a

View File

@ -269,5 +269,5 @@ getErrorText(int errNum)
unsigned int
str2uint(const char *str)
{
return strtol(str, NULL, 10);
return strtoul(str, NULL, 10);
}