Explorar el Código

ncd: fix warning

ambrop7 hace 13 años
padre
commit
036c3f93a9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      ncd/NCDModule.c

+ 1 - 1
ncd/NCDModule.c

@@ -593,7 +593,7 @@ static int process_arg_object_func_getvar2 (NCDModuleProcess *o, void *n_ptr, co
         return 0;
     }
     
-    uintmax_t n = (uintmax_t)n_ptr - 1;
+    uintptr_t n = (uintptr_t)n_ptr - 1;
     
     *out_value = NCDVal_NewCopy(mem, NCDVal_ListGet(o->args, n));
     if (NCDVal_IsInvalid(*out_value)) {