From e47608b7ec59407d5bca7def446137b41e54ee64 Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 1 Jan 2017 11:55:24 +0000 Subject: {i}stat{fs} interfaces: maintained smooth foreign compiler support. --- src/fs/ntapi_tt_istat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fs/ntapi_tt_istat.c') diff --git a/src/fs/ntapi_tt_istat.c b/src/fs/ntapi_tt_istat.c index 5e6df3d..f17c8b1 100644 --- a/src/fs/ntapi_tt_istat.c +++ b/src/fs/ntapi_tt_istat.c @@ -37,7 +37,7 @@ int32_t __stdcall __ntapi_tt_istat( istat,0,sizeof(*istat)); istat->hfile = hfile; - istat->dev_name_maxlen = infolen - sizeof(*istat); + istat->dev_name_maxlen = (uint16_t)infolen - sizeof(*istat); /* file index number */ if (!(flags & NT_ISTAT_DEV_NAME_ONLY)) -- cgit v1.2.3