aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-06-08 01:35:54 +0000
committerChristopher Faylor <me@cgf.cx>2002-06-08 01:35:54 +0000
commitf61563846de3f292d53b53ba885b97dc1003fffc (patch)
treea97185010e0cd5b516ac5066bc536a29e0372c1f
parent9cde3cf3b51759d98dea14d7b5ed0a0b303d72a6 (diff)
downloadnewlib-f61563846de3f292d53b53ba885b97dc1003fffc.zip
newlib-f61563846de3f292d53b53ba885b97dc1003fffc.tar.gz
newlib-f61563846de3f292d53b53ba885b97dc1003fffc.tar.bz2
coerce
-rw-r--r--winsup/cygwin/fhandler_socket.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler_socket.cc b/winsup/cygwin/fhandler_socket.cc
index 3207aaf..9450887 100644
--- a/winsup/cygwin/fhandler_socket.cc
+++ b/winsup/cygwin/fhandler_socket.cc
@@ -258,7 +258,7 @@ fhandler_socket::fstat (struct __stat64 *buf, path_conv *pc)
{
int res = fhandler_base::fstat (buf, pc);
if (!res)
- buf->st_ino = get_handle ();
+ buf->st_ino = (ino_t) get_handle ();
return res;
}