aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/SelectWorldScreen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.Client/SelectWorldScreen.cpp')
-rw-r--r--Minecraft.Client/SelectWorldScreen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.Client/SelectWorldScreen.cpp b/Minecraft.Client/SelectWorldScreen.cpp
index 0481f1e5..ebae8c83 100644
--- a/Minecraft.Client/SelectWorldScreen.cpp
+++ b/Minecraft.Client/SelectWorldScreen.cpp
@@ -294,7 +294,7 @@ void SelectWorldScreen::WorldSelectionList::renderItem(int i, int x, int y, int
swprintf(buffer,20,L"%d/%d/%d %d:%02d",time.wDay, time.wMonth, time.wYear, time.wHour, time.wMinute); // 4J - TODO Localise this
id = id + L" (" + buffer;
- __int64 size = levelSummary->getSizeOnDisk();
+ int64_t size = levelSummary->getSizeOnDisk();
id = id + L", " + std::to_wstring(static_cast<float>(size / 1024 * 100 / 1024 / 100.0f)) + L" MB)";
wstring info;