From 3e4aa2060185d6122b838d166a3c3cb254ba8844 Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Sun, 5 Dec 2010 04:07:44 +0000 Subject: [PATCH] fix a crash that could occur in CompressedBlob.cpp git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6521 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/DiscIO/Src/CompressedBlob.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DiscIO/Src/CompressedBlob.cpp b/Source/Core/DiscIO/Src/CompressedBlob.cpp index ba29cccddf..da6e0a2b26 100644 --- a/Source/Core/DiscIO/Src/CompressedBlob.cpp +++ b/Source/Core/DiscIO/Src/CompressedBlob.cpp @@ -117,7 +117,7 @@ void CompressedBlobReader::GetBlock(u64 block_num, u8 *out_ptr) // First, check hash. u32 block_hash = HashAdler32(source, comp_block_size); if (block_hash != hashes[block_num]) - PanicAlert("Hash of block %i is %08x instead of %08x.\n" + PanicAlert("Hash of block %lli is %08x instead of %08x.\n" "Your ISO, %s, is corrupt.", block_num, block_hash, hashes[block_num], file_name.c_str());