The result of getopt() is "int" and should be treated as such
diff --git a/coreutils/echo.c b/coreutils/echo.c
index 73be8f2..924cdd4 100644
--- a/coreutils/echo.c
+++ b/coreutils/echo.c
@@ -30,7 +30,7 @@
 {
 	register char **ap;
 	char *p;
-	register char c;
+	int c;
 	int nflag = 0;
 	int eflag = 0;