summaryrefslogtreecommitdiffstats
path: root/Source/CTest/Curl/getpass.c
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CTest/Curl/getpass.c')
-rw-r--r--Source/CTest/Curl/getpass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/Curl/getpass.c b/Source/CTest/Curl/getpass.c
index d0f4eda..ec850d8 100644
--- a/Source/CTest/Curl/getpass.c
+++ b/Source/CTest/Curl/getpass.c
@@ -200,7 +200,7 @@ char *getpass_r(const char *prompt, char *buffer, int buflen)
printf("%s", prompt);
for(i=0; i<buflen; i++) {
- buffer[i] = getch();
+ buffer[i] = (char)getch();
if ( buffer[i] == '\r' ) {
buffer[i] = 0;
break;