projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b757f18
)
Have pg_upgrade use strtoul(), not strtol().
author
Bruce Momjian
Wed, 29 Sep 2010 02:40:26 +0000
(
02:40
+0000)
committer
Bruce Momjian
Wed, 29 Sep 2010 02:40:26 +0000
(
02:40
+0000)
contrib/pg_upgrade/util.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/pg_upgrade/util.c
b/contrib/pg_upgrade/util.c
index 8ee39be03ed6c9d44b8d42995bbaeb38f0f72954..52b81c200b3b2e08deb5d1c0d26ef29140bdf357 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 strto
u
l(str, NULL, 10);
}