cast
authorChristian Grothoff <christian@grothoff.org>
Fri, 5 Nov 2010 11:27:58 +0000 (11:27 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 5 Nov 2010 11:27:58 +0000 (11:27 +0000)
src/util/os_priority.c

index baeeb2d9ad29e8825ef403d422b7227edac3a41f..870ce28eab46291be5fa4b8f80d476134c0d1b07 100644 (file)
@@ -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);