summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog/form/frm_req_name.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2002-06-18 21:19:38 (GMT)
committerBrad King <brad.king@kitware.com>2002-06-18 21:19:38 (GMT)
commit05e162f00ad198d65aa83be1e5ea1d07b0838563 (patch)
treea5b0b10eab44225cca65e0449cadc69eec75fbae /Source/CursesDialog/form/frm_req_name.c
parent589cf38a365bd6453d93be27ee2b824cf9e6c7d6 (diff)
downloadCMake-05e162f00ad198d65aa83be1e5ea1d07b0838563.zip
CMake-05e162f00ad198d65aa83be1e5ea1d07b0838563.tar.gz
CMake-05e162f00ad198d65aa83be1e5ea1d07b0838563.tar.bz2
ERR: Fixed compiler warnings when using strict ansi.
Diffstat (limited to 'Source/CursesDialog/form/frm_req_name.c')
-rw-r--r--Source/CursesDialog/form/frm_req_name.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CursesDialog/form/frm_req_name.c b/Source/CursesDialog/form/frm_req_name.c
index 0c0755b..b108dab 100644
--- a/Source/CursesDialog/form/frm_req_name.c
+++ b/Source/CursesDialog/form/frm_req_name.c
@@ -153,7 +153,7 @@ int form_request_by_name( const char *str )
strncpy(buf,str,sizeof(buf));
while( (i<sizeof(buf)) && (buf[i] != '\0') )
{
- buf[i] = toupper(buf[i]);
+ buf[i] = toupper((int)(buf[i]));
i++;
}