diff options
Diffstat (limited to 'src/fs/ntapi_tt_stat.c')
-rw-r--r-- | src/fs/ntapi_tt_stat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/ntapi_tt_stat.c b/src/fs/ntapi_tt_stat.c index 4937067..762535f 100644 --- a/src/fs/ntapi_tt_stat.c +++ b/src/fs/ntapi_tt_stat.c @@ -37,7 +37,7 @@ int32_t __stdcall __ntapi_tt_stat( stat,0,sizeof(*stat)); stat->hfile = hfile; - stat->dev_name_maxlen = infolen - sizeof(*stat); + stat->dev_name_maxlen = (uint16_t)infolen - sizeof(*stat); /* system-unique device name */ if ((status = __ntapi->zw_query_information_file( |