1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-02-02 15:09:23 -05:00

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

(cherry picked from commit adecd52b3a85a7a5964723a62e83a33dad02e849)
This commit is contained in:
Witold Filipczyk 2024-07-13 08:17:18 +02:00
parent 504fdbe340
commit 6ca72b5bf6

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;