diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-04-07 21:47:04 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2020-04-08 11:00:41 +0200 |
commit | e3742f0c804285b962326bddd73c0984fceb513f (patch) | |
tree | 1847fbdfe5bcff45d412b4163577f208059b5d58 | |
parent | 395921005173715751877702693eb979ee02c4f8 (diff) |
Remove redundant cast to the same type
(cherry picked from commit ef7b4e5c28739c26b3a120296f9dc2ddaf2d4375)
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -74,7 +74,7 @@ int input_handle(int wait) { if(wait != 1) screen_draw(); else { - gettimeofday(&tv, (void *)NULL); + gettimeofday(&tv, NULL); tv.tv_usec = (1000*(tv.tv_sec % 1000) + (tv.tv_usec / 1000)) / update_delay; if(lastupdate != tv.tv_usec) { screen_draw(); |