mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-13 01:08:41 -09:00
Remove redundant cast to the same type
(cherry picked from commit ef7b4e5c28)
This commit is contained in:
parent
3959210051
commit
e3742f0c80
1 changed files with 1 additions and 1 deletions
|
|
@ -74,7 +74,7 @@ int input_handle(int wait) {
|
||||||
if(wait != 1)
|
if(wait != 1)
|
||||||
screen_draw();
|
screen_draw();
|
||||||
else {
|
else {
|
||||||
gettimeofday(&tv, (void *)NULL);
|
gettimeofday(&tv, NULL);
|
||||||
tv.tv_usec = (1000*(tv.tv_sec % 1000) + (tv.tv_usec / 1000)) / update_delay;
|
tv.tv_usec = (1000*(tv.tv_sec % 1000) + (tv.tv_usec / 1000)) / update_delay;
|
||||||
if(lastupdate != tv.tv_usec) {
|
if(lastupdate != tv.tv_usec) {
|
||||||
screen_draw();
|
screen_draw();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue