https://git.reactos.org/?p=reactos.git;a=commitdiff;h=34a634bbf65f563a81ef6…
commit 34a634bbf65f563a81ef6ca527d3816349d06be8
Author: Stanislav Motylkov <x86corez(a)gmail.com>
AuthorDate: Thu Nov 26 12:05:16 2020 +0300
Commit: Stanislav Motylkov <x86corez(a)gmail.com>
CommitDate: Thu Nov 26 12:22:31 2020 +0300
[PARTINFO] Fix GitHub MSVC (amd64) build
Addendum to 878186b.
---
modules/rosapps/applications/sysutils/utils/partinfo/partinfo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/rosapps/applications/sysutils/utils/partinfo/partinfo.c
b/modules/rosapps/applications/sysutils/utils/partinfo/partinfo.c
index e1067bcd84e..d835e5b713a 100644
--- a/modules/rosapps/applications/sysutils/utils/partinfo/partinfo.c
+++ b/modules/rosapps/applications/sysutils/utils/partinfo/partinfo.c
@@ -410,7 +410,7 @@ int main(int argc, char *argv[])
GUID_ELEMENTS(&LayoutBufferEx->PartitionEntry[i].Gpt.PartitionType),
GUID_ELEMENTS(&LayoutBufferEx->PartitionEntry[i].Gpt.PartitionId),
LayoutBufferEx->PartitionEntry[i].Gpt.Attributes,
- _countof(LayoutBufferEx->PartitionEntry[i].Gpt.Name),
+ (int)_countof(LayoutBufferEx->PartitionEntry[i].Gpt.Name),
LayoutBufferEx->PartitionEntry[i].Gpt.Name,
LayoutBufferEx->PartitionEntry[i].StartingOffset.QuadPart,
LayoutBufferEx->PartitionEntry[i].PartitionLength.QuadPart);