Explorar el Código

Core : Change variable type

and fix various warnings
zawata hace 11 años
padre
commit
972dccc3f6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/core/loader/3dsx.cpp

+ 1 - 1
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