summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzawata <zawataza@gmail.com>2015-06-29 19:21:40 +0200
committerzawata <zawataza@gmail.com>2015-07-19 13:12:39 +0200
commit972dccc3f692adc113250d62531a774fecb9389c (patch)
treea8b3a3f914f5c15d067fb50807f3a52cbdc2f2eb
parentVideo_Core: Finally fix pesky warning (diff)
downloadyuzu-972dccc3f692adc113250d62531a774fecb9389c.tar
yuzu-972dccc3f692adc113250d62531a774fecb9389c.tar.gz
yuzu-972dccc3f692adc113250d62531a774fecb9389c.tar.bz2
yuzu-972dccc3f692adc113250d62531a774fecb9389c.tar.lz
yuzu-972dccc3f692adc113250d62531a774fecb9389c.tar.xz
yuzu-972dccc3f692adc113250d62531a774fecb9389c.tar.zst
yuzu-972dccc3f692adc113250d62531a774fecb9389c.zip
-rw-r--r--src/core/loader/3dsx.cpp2
1 files changed, 1 insertions, 1 deletions
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<u32>(addr - in_addr);
break;
default:
break; //this should never happen