From fe61db6f0ceb508357bcddc39b388e2806cf11d0 Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Wed, 29 Sep 2010 02:40:25 +0000
Subject: [PATCH] Have pg_upgrade use strtoul(), not strtol().

---
 contrib/pg_upgrade/util.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/pg_upgrade/util.c b/contrib/pg_upgrade/util.c
index 3f3a4c700d0..edd3a45bc9f 100644
--- 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);
 }
-- 
GitLab