Commit fe61db6f authored by Bruce Momjian's avatar Bruce Momjian

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

parent 807005c0
...@@ -269,5 +269,5 @@ getErrorText(int errNum) ...@@ -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);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment