aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-server
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-08-12 15:00:42 +0200
committerMattias Andrée <maandree@operamail.com>2014-08-12 15:00:42 +0200
commitce5256be0f8b6a8a2672a890f50c435a23824542 (patch)
tree2255ccfd4ef091cfe95676fe9a7064cbc03828ac /src/mds-server
parentmake it possible to consume messages (diff)
downloadmds-ce5256be0f8b6a8a2672a890f50c435a23824542.tar.gz
mds-ce5256be0f8b6a8a2672a890f50c435a23824542.tar.bz2
mds-ce5256be0f8b6a8a2672a890f50c435a23824542.tar.xz
missed explicit cast
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/mds-server')
-rw-r--r--src/mds-server/receiving.c2
1 files changed, 1 insertions, 1 deletions
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);
}