From ce5256be0f8b6a8a2672a890f50c435a23824542 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 12 Aug 2014 15:00:42 +0200 Subject: missed explicit cast MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/mds-server/receiving.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/mds-server/receiving.c b/src/mds-server/receiving.c index 016c04e..127540b 100644 --- a/src/mds-server/receiving.c +++ b/src/mds-server/receiving.c @@ -263,7 +263,7 @@ int message_received(client_t* client) else if (strequals(h, "Modifying: yes")) modifying = 1; else if (strequals(h, "Stop: yes")) stop = 1; else if (startswith(h, "Message ID: ")) message_id = strstr(h, ": ") + 2; - else if (startswith(h, "Priority: ")) priority = atoll(strstr(h, ": ") + 2); + else if (startswith(h, "Priority: ")) priority = (int64_t)atoll(strstr(h, ": ") + 2); else if (startswith(h, "Modify ID: ")) modify_id = (uint64_t)atoll(strstr(h, ": ") + 2); } -- cgit v1.2.3-70-g09d2