1
0
mirror of https://github.com/bobranten/Ext4Fsd.git synced 2025-10-30 05:18:31 -05:00

added some typecasts to avoid compiler warnings

This commit is contained in:
Bo Brantén
2020-03-08 23:41:59 +01:00
parent e93d7f5361
commit 4f8ee64b43
4 changed files with 6 additions and 6 deletions

View File

@@ -231,7 +231,7 @@ BOOLEAN Ext2QueryDrive(PPIPE_REQ *pr, ULONG len)
rc = QueryDosDeviceA(devPath, s, l);
if (rc) {
q->result = 1;
p->len = sizeof(PIPE_REQ) + sizeof(REQ_QUERY_DRV) + strlen(s) + 1;
p->len = (int)(sizeof(PIPE_REQ) + sizeof(REQ_QUERY_DRV) + strlen(s) + 1);
} else {
q->result = 0;
}