Fixed compile warnings under windows
authorMatthias Wachs <wachs@net.in.tum.de>
Fri, 9 Jul 2010 15:20:00 +0000 (15:20 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Fri, 9 Jul 2010 15:20:00 +0000 (15:20 +0000)
src/util/os_priority.c

index 7a6f0d65d1ae0b2c585f58daf52d750ed81b8325..0200a473853aa2936d7b2116f4146c9d06ff69a8 100644 (file)
@@ -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);