diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-08-12 15:39:39 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-08-12 15:39:39 +0200 |
commit | 856c92de0cfccee39750fda1d04d410fdb06bbe2 (patch) | |
tree | 43b2ec983835e15d6c785687fcbd75c27a45d988 /src/libmdsserver/mds-message.c | |
parent | missed explicit cast (diff) | |
download | mds-856c92de0cfccee39750fda1d04d410fdb06bbe2.tar.gz mds-856c92de0cfccee39750fda1d04d410fdb06bbe2.tar.bz2 mds-856c92de0cfccee39750fda1d04d410fdb06bbe2.tar.xz |
macros for ato* with cast
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/libmdsserver/mds-message.c')
-rw-r--r-- | src/libmdsserver/mds-message.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmdsserver/mds-message.c b/src/libmdsserver/mds-message.c index 5726b7a..8a3590c 100644 --- a/src/libmdsserver/mds-message.c +++ b/src/libmdsserver/mds-message.c @@ -163,7 +163,7 @@ static int get_payload_length(mds_message_t* restrict this) { /* Store the message length. */ header = this->headers[i] + strlen("Length: "); - this->payload_size = (size_t)atoll(header); + this->payload_size = atoz(header); /* Do not except a length that is not correctly formated. */ for (; *header; header++) |