mirror of https://github.com/postgres/postgres
Have pg_upgrade use strtoul(), not strtol().
This commit is contained in:
parent
807005c024
commit
fe61db6f0c
|
@ -269,5 +269,5 @@ getErrorText(int errNum)
|
|||
unsigned int
|
||||
str2uint(const char *str)
|
||||
{
|
||||
return strtol(str, NULL, 10);
|
||||
return strtoul(str, NULL, 10);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue