aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-registry/registry.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/mds-registry/registry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mds-registry/registry.c b/src/mds-registry/registry.c
index c8610ca..d2a9c10 100644
--- a/src/mds-registry/registry.c
+++ b/src/mds-registry/registry.c
@@ -462,7 +462,7 @@ static int handle_register_message(void)
/* Get message length, and make sure the action is defined. */
if (recv_length != NULL)
- length = (size_t)atoll(recv_length);
+ length = atoz(recv_length);
if (recv_action != NULL)
recv_action = "add";