about summary refs log tree commit homepage
path: root/mgmt_fn.c
diff options
context:
space:
mode:
Diffstat (limited to 'mgmt_fn.c')
-rw-r--r--mgmt_fn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mgmt_fn.c b/mgmt_fn.c
index 81a1edf..8bdec2d 100644
--- a/mgmt_fn.c
+++ b/mgmt_fn.c
@@ -193,7 +193,7 @@ void mog_mgmt_fn_aio_threads(struct mog_mgmt *mgmt, char *buf)
         assert(*end == 0 && "ragel misfed mog_mgmt_fn_set_aio_threads");
 
         if (nr > 0 && nr <= (size_t)INT_MAX)
-                mog_svc_aio_threads_enqueue(mgmt->svc, nr);
+                mog_svc_aio_threads_enqueue(mgmt->svc, (unsigned)nr);
 
         mog_mgmt_fn_blank(mgmt);
 }