mirror of
https://github.com/Tha14/toxic.git
synced 2025-12-18 20:26:35 +01:00
fix undefined behaviour with string literals
This commit is contained in:
@@ -641,7 +641,7 @@ int main(int argc, char *argv[])
|
||||
sort_friendlist_index();
|
||||
prompt_init_statusbar(prompt, m);
|
||||
|
||||
uint64_t last_save = get_unix_time();
|
||||
uint64_t last_save = (uint64_t) time(NULL);
|
||||
|
||||
while (true) {
|
||||
update_unix_time();
|
||||
|
||||
Reference in New Issue
Block a user