From: Christian Grothoff Date: Fri, 5 Nov 2010 11:27:58 +0000 (+0000) Subject: cast X-Git-Tag: initial-import-from-subversion-38251~19826 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=051a67ed0bacc1471331e93ea8a83e1ce6065e38;p=oweals%2Fgnunet.git cast --- diff --git a/src/util/os_priority.c b/src/util/os_priority.c index baeeb2d9a..870ce28ea 100644 --- a/src/util/os_priority.c +++ b/src/util/os_priority.c @@ -399,7 +399,7 @@ GNUNET_OS_start_process (struct GNUNET_DISK_PipeHandle *pipe_stdin, start.hStdOutput = stdout_handle; } - if (32 >= FindExecutableA (filename, NULL, path)) + if (32 >= (int) FindExecutableA (filename, NULL, path)) { SetErrnoFromWinError (GetLastError ()); GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_ERROR, "FindExecutable", filename); @@ -555,7 +555,7 @@ GNUNET_OS_start_process_v (const int *lsocks, GNUNET_assert (lsocks == NULL); - if (32 >= FindExecutableA (filename, NULL, non_const_filename)) + if (32 >= (int) FindExecutableA (filename, NULL, non_const_filename)) { SetErrnoFromWinError (GetLastError ()); GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_ERROR, "FindExecutable", filename);