1
0
mirror of https://github.com/Tha14/toxic.git synced 2026-01-24 13:53:15 +01:00

Use time_t instead of uint64_t for timestamps

Also call time() directly from get_unix_time() instead of manually updating the time val.
This commit is contained in:
Jfreegman
2016-09-22 18:31:52 -04:00
parent c24e1bd2b8
commit 2194b9e259
13 changed files with 26 additions and 39 deletions

View File

@@ -64,7 +64,7 @@ typedef struct {
uint8_t type;
int num_peers;
int side_pos; /* current position of the sidebar - used for scrolling up and down */
uint64_t start_time;
time_t start_time;
uint8_t *peer_names;
uint8_t *oldpeer_names;
uint16_t *peer_name_lengths;