1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-19 01:36:33 -04:00

[inpfield] Cast to unsigned char * . Refs #315

This commit is contained in:
Witold Filipczyk 2024-07-13 08:17:18 +02:00
parent 00553ed5f6
commit adecd52b3a

View File

@ -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;