From 1879eb3daf4e25918f277837a41bf601d1f62613 Mon Sep 17 00:00:00 2001 From: morkt Date: Tue, 23 Jun 2015 10:19:28 +0400 Subject: [PATCH] long constant. --- ArcFormats/AudioPAD.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArcFormats/AudioPAD.cs b/ArcFormats/AudioPAD.cs index fe0e51bc..b18c8e93 100644 --- a/ArcFormats/AudioPAD.cs +++ b/ArcFormats/AudioPAD.cs @@ -117,7 +117,7 @@ namespace GameRes.Formats.ShiinaRio int next = m_input[src+1]; v10 = next & 0xF; v30 = next >> 4; - long v = BitConverter.DoubleToInt64Bits (table[12]) & 0xffffffff; + long v = BitConverter.DoubleToInt64Bits (table[12]) & 0xffffffffL; table[12] = BitConverter.Int64BitsToDouble (v | (long)v10 << 32); src += 2; }