From 2fa1e4398a2252b5ed465f30d43e3c6d93e2f840 Mon Sep 17 00:00:00 2001 From: Nils Durner Date: Fri, 8 Oct 2010 16:33:47 +0000 Subject: [PATCH] fix warnings --- src/util/os_priority.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/os_priority.c b/src/util/os_priority.c index e658af1ef..109b862e2 100644 --- a/src/util/os_priority.c +++ b/src/util/os_priority.c @@ -461,7 +461,7 @@ GNUNET_OS_start_process_v (const int *lsocks, /* Copy all argv strings */ argcount = 0; - arg = argv; + arg = (char **) argv; while (*arg) { non_const_argv[argcount] = GNUNET_strdup (*arg); @@ -598,7 +598,7 @@ GNUNET_OS_process_status (pid_t proc, enum GNUNET_OS_ProcessStatusType *type, return GNUNET_SYSERR; } - c = GetExitCodeProcess (proc, &c); + c = GetExitCodeProcess ((HANDLE) proc, &c); if (STILL_ACTIVE == c) { *type = GNUNET_OS_PROCESS_RUNNING; -- 2.25.1