Code style: changed "sizeof foo" to "sizeof(foo)" (thanks @sezero!)
(cherry picked from commit c6443d86c9
)
This commit is contained in:
parent
46d143376a
commit
0d76380042
71 changed files with 525 additions and 234 deletions
|
@ -290,7 +290,7 @@ void SDL_EVDEV_Poll(void)
|
|||
mouse = SDL_GetMouse();
|
||||
|
||||
for (item = _this->first; item != NULL; item = item->next) {
|
||||
while ((len = read(item->fd, events, (sizeof events))) > 0) {
|
||||
while ((len = read(item->fd, events, sizeof(events))) > 0) {
|
||||
len /= sizeof(events[0]);
|
||||
for (i = 0; i < len; ++i) {
|
||||
/* special handling for touchscreen, that should eventually be
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue