From: Nils Durner Date: Fri, 8 Oct 2010 16:33:47 +0000 (+0000) Subject: fix warnings X-Git-Tag: initial-import-from-subversion-38251~20092 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2fa1e4398a2252b5ed465f30d43e3c6d93e2f840;p=oweals%2Fgnunet.git fix warnings --- 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;