From 512a8a122d51c3bea20d0e2572c0d2dd6d6f1dce Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Sat, 10 Dec 2016 15:53:11 -1000 Subject: [PATCH] Windows fixes --- lib/DiscWii.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/DiscWii.cpp b/lib/DiscWii.cpp index b5ee0f4..1216e4d 100644 --- a/lib/DiscWii.cpp +++ b/lib/DiscWii.cpp @@ -865,7 +865,7 @@ bool DiscBuilderWii::buildFromDirectory(const SystemChar* dirIn, const SystemCha /* Assemble image */ filledSz = pb.buildFromDirectory(dirIn, dolIn, apploaderIn, partHeadIn); - if (filledSz >= m_discCapacity) + if (filledSz >= uint64_t(m_discCapacity)) { LogModule.report(logvisor::Fatal, "data partition exceeds disc capacity"); return false;