From 051a67ed0bacc1471331e93ea8a83e1ce6065e38 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 5 Nov 2010 11:27:58 +0000 Subject: [PATCH] cast --- src/util/os_priority.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.25.1