projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e49175c
)
-LRN: fix a warning
author
Christian Grothoff
<christian@grothoff.org>
Sun, 3 Jun 2012 13:21:02 +0000
(13:21 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Sun, 3 Jun 2012 13:21:02 +0000
(13:21 +0000)
src/util/disk.c
patch
|
blob
|
history
diff --git
a/src/util/disk.c
b/src/util/disk.c
index cba0d4467ba4731c06a4644f85c79aaec7143506..c899358e5ba6df3f2f82ba92c514c019cb6fc011 100644
(file)
--- 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;