aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNils Durner <durner@gnunet.org>2010-10-08 16:33:47 +0000
committerNils Durner <durner@gnunet.org>2010-10-08 16:33:47 +0000
commit2fa1e4398a2252b5ed465f30d43e3c6d93e2f840 (patch)
treecb8d32628150a37c9134142f1832e27d9a1c3d0d
parent2d21fc1fc47cb939af263069eecf9306d5ca79bb (diff)
downloadgnunet-2fa1e4398a2252b5ed465f30d43e3c6d93e2f840.tar.gz
gnunet-2fa1e4398a2252b5ed465f30d43e3c6d93e2f840.zip
fix warnings
-rw-r--r--src/util/os_priority.c4
1 files 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,
461 461
462 /* Copy all argv strings */ 462 /* Copy all argv strings */
463 argcount = 0; 463 argcount = 0;
464 arg = argv; 464 arg = (char **) argv;
465 while (*arg) 465 while (*arg)
466 { 466 {
467 non_const_argv[argcount] = GNUNET_strdup (*arg); 467 non_const_argv[argcount] = GNUNET_strdup (*arg);
@@ -598,7 +598,7 @@ GNUNET_OS_process_status (pid_t proc, enum GNUNET_OS_ProcessStatusType *type,
598 return GNUNET_SYSERR; 598 return GNUNET_SYSERR;
599 } 599 }
600 600
601 c = GetExitCodeProcess (proc, &c); 601 c = GetExitCodeProcess ((HANDLE) proc, &c);
602 if (STILL_ACTIVE == c) 602 if (STILL_ACTIVE == c)
603 { 603 {
604 *type = GNUNET_OS_PROCESS_RUNNING; 604 *type = GNUNET_OS_PROCESS_RUNNING;