From: Matthias Wachs Date: Fri, 9 Jul 2010 15:20:00 +0000 (+0000) Subject: Fixed compile warnings under windows X-Git-Tag: initial-import-from-subversion-38251~20986 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=25967b43c64bb9258b533f8f414d5ad56e7d1195;p=oweals%2Fgnunet.git Fixed compile warnings under windows --- diff --git a/src/util/os_priority.c b/src/util/os_priority.c index 7a6f0d65d..0200a4738 100644 --- a/src/util/os_priority.c +++ b/src/util/os_priority.c @@ -295,7 +295,7 @@ GNUNET_OS_start_process (struct GNUNET_DISK_PipeHandle *pipe_stdin, start.hStdOutput = stdout_handle; } #endif - if (FindExecutable(filename, NULL, path) <= 32) + if ((int) FindExecutable(filename, NULL, path) <= 32) { SetErrnoFromWinError (GetLastError ()); GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_ERROR, "FindExecutable", fn);