x64: Fix last warning and reinstate warnings as errors (msvc)

This commit is contained in:
Ted John 2016-09-04 00:30:17 +01:00
parent d24010b1b5
commit 272ccc36f1
2 changed files with 3 additions and 3 deletions

View file

@ -656,7 +656,7 @@
<ObjectFileName>$(IntDir)\%(RelativeDir)</ObjectFileName>
<TreatSpecificWarningsAsErrors>4013</TreatSpecificWarningsAsErrors>
<MinimalRebuild>false</MinimalRebuild>
<TreatWarningAsError>false</TreatWarningAsError>
<TreatWarningAsError>true</TreatWarningAsError>
</ClCompile>
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
@ -685,7 +685,7 @@
<ObjectFileName>$(IntDir)\%(RelativeDir)</ObjectFileName>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<TreatWarningAsError>false</TreatWarningAsError>
<TreatWarningAsError>true</TreatWarningAsError>
</ClCompile>
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>

View file

@ -623,7 +623,7 @@ void sub_685EBC(money32 amount, rct_string_id string_id, sint16 y, sint16 z, sin
ps->next = 0;
ps->args[0] = amount;
ps->args[1] = y;
ps->args[2] = (int) y_offsets;
ps->args[2] = 0;
ps->args[3] = 0;
ps->y_offsets = (uint8 *) y_offsets;