getchar-returns-int-20021026
[openafs.git] / src / lwp / waitkey.c
index 2586f9c..fddb348 100644 (file)
@@ -260,7 +260,7 @@ int LWP_GetResponseKey(int seconds, char *key)
 #ifdef AFS_NT40_ENV
   *key = getche(); /* get char and echo it to screen */
 #else
-  *key = getchar();
+  *key = (char ) getchar();
 #endif
 
   return rc;