mirror of
https://github.com/shadow-maint/shadow.git
synced 2024-12-18 06:14:46 +08:00
strtoday: remove unnecessary cast
Resolves: https://github.com/shadow-maint/shadow/issues/704 Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
This commit is contained in:
parent
787ea57a18
commit
89a7ee7b22
@ -73,5 +73,5 @@ long strtoday (const char *str)
|
||||
return -2;
|
||||
}
|
||||
/* convert seconds to days since 1970-01-01 */
|
||||
return (long) (t + DAY / 2) / DAY;
|
||||
return (t + DAY / 2) / DAY;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user