git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 807005c)
Have pg_upgrade use strtoul(), not strtol().
2010年9月29日 02:40:25 +0000 (02:40 +0000)
2010年9月29日 02:40:25 +0000 (02:40 +0000)

diff --git a/contrib/pg_upgrade/util.c b/contrib/pg_upgrade/util.c
index 3f3a4c700d07240cfc813eaf37d0f5c88b1edb40..edd3a45bc9fe1c41a06bf80e058d256229ea402b 100644 (file)
--- a/contrib/pg_upgrade/util.c
+++ b/contrib/pg_upgrade/util.c
@@ -269,5 +269,5 @@ getErrorText(int errNum)
unsigned int
str2uint(const char *str)
{
- return strtol(str, NULL, 10);
+ return strtoul(str, NULL, 10);
}
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /