From: Christian Grothoff Date: Sun, 3 Jun 2012 13:21:02 +0000 (+0000) Subject: -LRN: fix a warning X-Git-Tag: initial-import-from-subversion-38251~13264 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=014af6dc55e62e2480864b7efd3f68e796390cd0;p=oweals%2Fgnunet.git -LRN: fix a warning --- diff --git a/src/util/disk.c b/src/util/disk.c index cba0d4467..c899358e5 100644 --- a/src/util/disk.c +++ b/src/util/disk.c @@ -2250,11 +2250,11 @@ GNUNET_DISK_pipe_from_fd (int blocking_read, int blocking_write, int fd[2]) } #else if (fd[0] >= 0) - p->fd[0]->h = _get_osfhandle (fd[0]); + p->fd[0]->h = (HANDLE) _get_osfhandle (fd[0]); else p->fd[0]->h = INVALID_HANDLE_VALUE; if (fd[1] >= 0) - p->fd[1]->h = _get_osfhandle (fd[1]); + p->fd[1]->h = (HANDLE) _get_osfhandle (fd[1]); else p->fd[1]->h = INVALID_HANDLE_VALUE;