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

This commit is contained in:
Bruce Momjian 2010-09-29 02:40:25 +00:00
parent 807005c024
commit fe61db6f0c
1 changed files with 1 additions and 1 deletions

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);
}