From 8ff263f3624a43e93a76f5b4491db2f84d24fc40 Mon Sep 17 00:00:00 2001
From: Tom Lane <tgl@sss.pgh.pa.us>
Date: Wed, 9 Jan 2002 18:21:46 +0000
Subject: [PATCH] Fix portability problem (result of getopt is int, not char).

---
 src/tools/entab/entab.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/tools/entab/entab.c b/src/tools/entab/entab.c
index 6350a11b1d..4e7240ea42 100644
--- a/src/tools/entab/entab.c
+++ b/src/tools/entab/entab.c
@@ -45,8 +45,8 @@ char	  **argv;
 			   *src,
 			   *dst,
 				quote_char,
-				ch,
 			   *cp;
+	int			ch;
 	FILE	   *in_file;
 
 	if ((cp = strrchr(argv[0], '/')) != NULL)
-- 
2.40.0