Skip to content

Commit

Permalink
[inpfield] Cast to unsigned char * . Refs #315
Browse files Browse the repository at this point in the history
  • Loading branch information
rkd77 committed Jul 13, 2024
1 parent 00553ed commit adecd52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bfu/inpfield.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit adecd52

Please sign in to comment.