summaryrefslogtreecommitdiff
path: root/src/code/z_sample.c
diff options
context:
space:
mode:
authorRoman971 <32455037+Roman971@users.noreply.github.com>2022-06-16 02:15:44 +0200
committerGitHub <noreply@github.com>2022-06-15 20:15:44 -0400
commit08c8126ba55c11b8774721dedec3a5d8993503cd (patch)
treeb19dace8340a2eba1c61f07209462e57565b8fe3 /src/code/z_sample.c
parent5299208291dc3032954b8b2242be2be9c7b6c7c0 (diff)
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
Diffstat (limited to 'src/code/z_sample.c')
-rw-r--r--src/code/z_sample.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/z_sample.c b/src/code/z_sample.c
index 9a51d3f50..ebfb1ab03 100644
--- a/src/code/z_sample.c
+++ b/src/code/z_sample.c
@@ -80,7 +80,7 @@ void Sample_LoadTitleStatic(SampleContext* this) {
u32 size = _title_staticSegmentRomEnd - _title_staticSegmentRomStart;
this->staticSegment = GameState_Alloc(&this->state, size, "../z_sample.c", 163);
- DmaMgr_SendRequest1(this->staticSegment, _title_staticSegmentRomStart, size, "../z_sample.c", 164);
+ DmaMgr_SendRequest1(this->staticSegment, (u32)_title_staticSegmentRomStart, size, "../z_sample.c", 164);
}
void Sample_Init(GameState* thisx) {