diff options
Diffstat (limited to 'Source/CursesDialog/form/frm_driver.c')
-rw-r--r-- | Source/CursesDialog/form/frm_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CursesDialog/form/frm_driver.c b/Source/CursesDialog/form/frm_driver.c index 596371b..d48bcd2 100644 --- a/Source/CursesDialog/form/frm_driver.c +++ b/Source/CursesDialog/form/frm_driver.c @@ -3797,7 +3797,7 @@ int set_field_buffer(FIELD * field, int buffer, const char * value) unsigned int i; for(i=len; i<vlen; i++) - if (!isprint(value[i])) + if (!isprint((int)(value[i]))) RETURN(E_BAD_ARGUMENT); } len = vlen; |