From 972dccc3f692adc113250d62531a774fecb9389c Mon Sep 17 00:00:00 2001 From: zawata Date: Mon, 29 Jun 2015 10:21:40 -0700 Subject: Core : Change variable type and fix various warnings --- src/core/loader/3dsx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/loader') diff --git a/src/core/loader/3dsx.cpp b/src/core/loader/3dsx.cpp index d043fa9bd..530837d08 100644 --- a/src/core/loader/3dsx.cpp +++ b/src/core/loader/3dsx.cpp @@ -191,7 +191,7 @@ static THREEDSX_Error Load3DSXFile(FileUtil::IOFile& file, u32 base_addr, Shared *pos = (addr); break; case 1: - *pos = (addr - in_addr); + *pos = static_cast(addr - in_addr); break; default: break; //this should never happen -- cgit v1.2.3