From 7b46b04ce7f579815214f68092e359938823d7f0 Mon Sep 17 00:00:00 2001 From: irungentoo Date: Fri, 2 Aug 2013 15:57:53 -0400 Subject: Time is better as an unsigned variable. --- core/Messenger.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/Messenger.c') diff --git a/core/Messenger.c b/core/Messenger.c index 8f1ed41a..e60357c8 100644 --- a/core/Messenger.c +++ b/core/Messenger.c @@ -27,7 +27,7 @@ typedef struct { uint8_t client_id[CLIENT_ID_SIZE]; int crypt_connection_id; - int64_t friend_request_id; /* id of the friend request corresponding to the current friend request to the current friend. */ + uint64_t friend_request_id; /* id of the friend request corresponding to the current friend request to the current friend. */ uint8_t status; /* 0 if no friend, 1 if added, 2 if friend request sent, 3 if confirmed friend, 4 if online. */ uint8_t info[MAX_DATA_SIZE]; /* the data that is sent during the friend requests we do */ uint8_t name[MAX_NAME_LENGTH]; @@ -485,7 +485,7 @@ static void doInbound() /*Interval in seconds between LAN discovery packet sending*/ #define LAN_DISCOVERY_INTERVAL 60 -static int64_t last_LANdiscovery; +static uint64_t last_LANdiscovery; /*Send a LAN discovery packet every LAN_DISCOVERY_INTERVAL seconds*/ static void LANdiscovery() -- cgit v1.2.3