mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[inpfield] Cast to unsigned char * . Refs #315
This commit is contained in:
parent
00553ed5f6
commit
adecd52b3a
@ -89,9 +89,9 @@ check_number(struct dialog_data *dlg_data, struct widget_data *widget_data)
|
||||
widget_handler_status_T
|
||||
check_nonempty(struct dialog_data *dlg_data, struct widget_data *widget_data)
|
||||
{
|
||||
char *p;
|
||||
unsigned char *p;
|
||||
|
||||
for (p = widget_data->cdata; *p; p++)
|
||||
for (p = (unsigned char *)widget_data->cdata; *p; p++)
|
||||
if (*p > ' ')
|
||||
return EVENT_PROCESSED;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user