1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

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 unsigned int
str2uint(const char *str) str2uint(const char *str)
{ {
return strtol(str, NULL, 10); return strtoul(str, NULL, 10);
} }