mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-11 17:30:25 +00:00
Enable int-conversion warnings and fix all current instances (#1280)
* Enable int-conversion warnings for gcc/clang * Fix all current int-conversion warnings * Run format.sh * Apply review suggestions
This commit is contained in:
parent
5299208291
commit
08c8126ba5
46 changed files with 225 additions and 224 deletions
|
@ -34,7 +34,7 @@ u32 EffectSsFhgFlash_Init(PlayState* play, u32 index, EffectSs* this, void* init
|
|||
s32 objBankIdx;
|
||||
Vec3f zeroVec = { 0.0f, 0.0f, 0.0f };
|
||||
Vec3f sp34 = { 0.0f, -1000.0f, 0.0f };
|
||||
void* oldSeg6;
|
||||
u32 oldSeg6;
|
||||
|
||||
if (initParams->type == FHGFLASH_LIGHTBALL) {
|
||||
objBankIdx = Object_GetIndex(&play->objectCtx, OBJECT_FHG);
|
||||
|
|
|
@ -24,7 +24,7 @@ u32 EffectSsIceSmoke_Init(PlayState* play, u32 index, EffectSs* this, void* init
|
|||
EffectSsIceSmokeInitParams* initParams = (EffectSsIceSmokeInitParams*)initParamsx;
|
||||
s32 pad;
|
||||
s32 objBankIdx;
|
||||
void* oldSeg6;
|
||||
u32 oldSeg6;
|
||||
|
||||
objBankIdx = Object_GetIndex(&play->objectCtx, OBJECT_FZ);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue