diff options
Diffstat (limited to 'core/Messenger.c')
-rw-r--r-- | core/Messenger.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Messenger.c b/core/Messenger.c index f8a794ce..30f3f658 100644 --- a/core/Messenger.c +++ b/core/Messenger.c | |||
@@ -27,7 +27,7 @@ | |||
27 | typedef struct { | 27 | typedef struct { |
28 | uint8_t client_id[CLIENT_ID_SIZE]; | 28 | uint8_t client_id[CLIENT_ID_SIZE]; |
29 | int crypt_connection_id; | 29 | int crypt_connection_id; |
30 | int friend_request_id; /* id of the friend request corresponding to the current friend request to the current friend. */ | 30 | int64_t friend_request_id; /* id of the friend request corresponding to the current friend request to the current friend. */ |
31 | uint8_t status; /* 0 if no friend, 1 if added, 2 if friend request sent, 3 if confirmed friend, 4 if online. */ | 31 | uint8_t status; /* 0 if no friend, 1 if added, 2 if friend request sent, 3 if confirmed friend, 4 if online. */ |
32 | uint8_t info[MAX_DATA_SIZE]; /* the data that is sent during the friend requests we do */ | 32 | uint8_t info[MAX_DATA_SIZE]; /* the data that is sent during the friend requests we do */ |
33 | uint8_t name[MAX_NAME_LENGTH]; | 33 | uint8_t name[MAX_NAME_LENGTH]; |
@@ -491,7 +491,7 @@ static void doInbound() | |||
491 | /*Interval in seconds between LAN discovery packet sending*/ | 491 | /*Interval in seconds between LAN discovery packet sending*/ |
492 | #define LAN_DISCOVERY_INTERVAL 60 | 492 | #define LAN_DISCOVERY_INTERVAL 60 |
493 | 493 | ||
494 | static uint32_t last_LANdiscovery; | 494 | static int64_t last_LANdiscovery; |
495 | 495 | ||
496 | /*Send a LAN discovery packet every LAN_DISCOVERY_INTERVAL seconds*/ | 496 | /*Send a LAN discovery packet every LAN_DISCOVERY_INTERVAL seconds*/ |
497 | static void LANdiscovery() | 497 | static void LANdiscovery() |