extern GNUNET_SIGNAL_Handler w32_sigchld_handler;
+/**
+ * Make seaspider happy.
+ */
+#define DWORD_WINAPI DWORD WINAPI
+
/**
* @brief Waits for a process to terminate and invokes the SIGCHLD handler
* @param proc pointer to process structure
*/
-static DWORD WINAPI
+static DWORD_WINAPI
ChildWaitThread (void *arg)
{
struct GNUNET_OS_Process *proc = (struct GNUNET_OS_Process *) arg;
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);
PROCESS_INFORMATION proc;
int argcount = 0;
char non_const_filename[MAX_PATH +1];
- int filenamelen = 0;
struct GNUNET_OS_Process *gnunet_proc = NULL;
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);