mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-23 01:29:33 +00:00
a29502ed0d
In these cases data was set as `process_post_synch(window->owner, ctk_signal_keypress, (process_data_t)(size_t)c);` so it seems reasonable to cast "back" to `size_t`. Additionally the comparison can be limited to `char`. See i.e. calcc for reference: ``` if(ev == ctk_signal_keypress) { if((char)(size_t)data >= '0' && (char)(size_t)data <= '9') { ``` |
||
---|---|---|
.. | ||
libconio | ||
ctk-conio.c | ||
ctk-conio.h | ||
ctk-draw.h | ||
ctk-filedialog.c | ||
ctk-filedialog.h | ||
ctk-mouse.h | ||
ctk-textentry-checkbox.c | ||
ctk-textentry-checkbox.h | ||
ctk-textentry-cmdline.c | ||
ctk-textentry-cmdline.h | ||
ctk-textentry-multiline.c | ||
ctk-textentry-multiline.h | ||
ctk.c | ||
ctk.h |