diff --git a/src/slurmctld/proc_req.c b/src/slurmctld/proc_req.c
index a8175042c090e21dd05a0f64963a018494bed3af..e58a9d260af706d40ca83d9b5a730fd5b02d3c48 100644
--- a/src/slurmctld/proc_req.c
+++ b/src/slurmctld/proc_req.c
@@ -3501,7 +3501,7 @@ inline static void  _slurm_rpc_checkpoint_task_comp(slurm_msg_t * msg)
 /* Copy an array of type char **, xmalloc() the array and xstrdup() the
  * strings in the array */
 extern char **
-xduparray(uint16_t size, char ** array)
+xduparray(uint32_t size, char ** array)
 {
 	int i;
 	char ** result;
@@ -3519,7 +3519,7 @@ xduparray(uint16_t size, char ** array)
 /* Like xduparray(), but performs one xmalloc().  The output format of this
  * must be identical to _read_data_array_from_file() */
 static char **
-_xduparray2(uint16_t size, char ** array)
+_xduparray2(uint32_t size, char ** array)
 {
 	int i, len = 0;
 	char *ptr, ** result;
diff --git a/src/slurmctld/proc_req.h b/src/slurmctld/proc_req.h
index 5e335dba8f3a75a30c90ad1c7264d40d689a353d..6f5f252d40a89e9ea8403e7c013cfffe92da2c25 100644
--- a/src/slurmctld/proc_req.h
+++ b/src/slurmctld/proc_req.h
@@ -74,7 +74,7 @@ extern int slurm_fail_job(uint32_t job_id);
 
 /* Copy an array of type char **, xmalloc() the array and xstrdup() the
  * strings in the array */
-extern char **xduparray(uint16_t size, char ** array);
+extern char **xduparray(uint32_t size, char ** array);
 
 #endif /* !_HAVE_PROC_REQ_H */