diff options
author | Nils Durner <durner@gnunet.org> | 2010-10-08 17:55:16 +0000 |
---|---|---|
committer | Nils Durner <durner@gnunet.org> | 2010-10-08 17:55:16 +0000 |
commit | dc24b5bf44bf8d9460b2571fe529403637aa3e16 (patch) | |
tree | dffda3eaf6dfcbaf7d2f7cacb16132214161fb9d /src/util | |
parent | cc5a89c1e87fbc1800e12b5eb802841c7bfe12f6 (diff) | |
download | gnunet-dc24b5bf44bf8d9460b2571fe529403637aa3e16.tar.gz gnunet-dc24b5bf44bf8d9460b2571fe529403637aa3e16.zip |
fix warnings
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/os_priority.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/os_priority.c b/src/util/os_priority.c index 109b862e2..604b3d532 100644 --- a/src/util/os_priority.c +++ b/src/util/os_priority.c | |||
@@ -299,7 +299,7 @@ GNUNET_OS_start_process (struct GNUNET_DISK_PipeHandle *pipe_stdin, | |||
299 | { | 299 | { |
300 | SetErrnoFromWinError (GetLastError ()); | 300 | SetErrnoFromWinError (GetLastError ()); |
301 | GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_ERROR, "FindExecutable", filename); | 301 | GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_ERROR, "FindExecutable", filename); |
302 | return -1; | 302 | return (pid_t) -1; |
303 | } | 303 | } |
304 | 304 | ||
305 | if (!CreateProcessA | 305 | if (!CreateProcessA |
@@ -308,7 +308,7 @@ GNUNET_OS_start_process (struct GNUNET_DISK_PipeHandle *pipe_stdin, | |||
308 | { | 308 | { |
309 | SetErrnoFromWinError (GetLastError ()); | 309 | SetErrnoFromWinError (GetLastError ()); |
310 | GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_ERROR, "CreateProcess", path); | 310 | GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_ERROR, "CreateProcess", path); |
311 | return -1; | 311 | return (pid_t) -1; |
312 | } | 312 | } |
313 | 313 | ||
314 | CreateThread (NULL, 64000, ChildWaitThread, proc.hProcess, 0, NULL); | 314 | CreateThread (NULL, 64000, ChildWaitThread, proc.hProcess, 0, NULL); |
@@ -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 ((HANDLE) proc, &c); | 601 | c = GetExitCodeProcess (h, &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; |