Index: genarch/ofw.c
===================================================================
--- genarch/ofw.c	(revision b7b5f83ead84480fb41306eb3fdb4c6b2f2c628d)
+++ genarch/ofw.c	(revision b95b717b5a93e7607dce1bab20b9e9588bc340a9)
@@ -38,6 +38,6 @@
 typedef struct {
 	const char *service;          /**< Command name */
-	unsigned int nargs;           /**< Number of in arguments */
-	unsigned int nret;            /**< Number of out arguments */
+	unsigned long nargs;          /**< Number of in arguments */
+	unsigned long nret;           /**< Number of out arguments */
 	ofw_arg_t args[MAX_OFW_ARGS]; /**< List of arguments */
 } ofw_args_t;
@@ -54,5 +54,5 @@
 phandle ofw_aliases;
 
-static int ofw_call(const char *service, const int nargs, const int nret, ofw_arg_t *rets, ...)
+static unsigned long ofw_call(const char *service, const int nargs, const int nret, ofw_arg_t *rets, ...)
 {
 	va_list list;
