aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/CreateWorldScreen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.Client/CreateWorldScreen.cpp')
-rw-r--r--Minecraft.Client/CreateWorldScreen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Minecraft.Client/CreateWorldScreen.cpp b/Minecraft.Client/CreateWorldScreen.cpp
index 1a897203..b9856c7e 100644
--- a/Minecraft.Client/CreateWorldScreen.cpp
+++ b/Minecraft.Client/CreateWorldScreen.cpp
@@ -97,14 +97,14 @@ void CreateWorldScreen::buttonClicked(Button *button)
if (done) return;
done = true;
- int64_t seedValue = (new Random())->nextLong();
+ __int64 seedValue = (new Random())->nextLong();
wstring seedString = seedEdit->getValue();
if (seedString.length() != 0)
{
// try to convert it to a long first
// try { // 4J - removed try/catch
- int64_t value = _fromString<int64_t>(seedString);
+ __int64 value = _fromString<__int64>(seedString);
if (value != 0)
{
seedValue = value;