fix warnings
authorNils Durner <durner@gnunet.org>
Fri, 8 Oct 2010 16:33:47 +0000 (16:33 +0000)
committerNils Durner <durner@gnunet.org>
Fri, 8 Oct 2010 16:33:47 +0000 (16:33 +0000)
src/util/os_priority.c

index e658af1efa61a49c82ccbe5ba37de259586f9cf1..109b862e2fd30115657a66af189db9d05a5d4454 100644 (file)
@@ -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;