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

View File

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