diff options
| author | Roman971 <32455037+Roman971@users.noreply.github.com> | 2022-10-02 17:38:09 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-02 11:38:09 -0400 |
| commit | f5a7c5612b292fb259556ce3157a1af9f2301226 (patch) | |
| tree | b31209678ece8b8dcbab3b64d257ea31ca262752 /src/code/z_sample.c | |
| parent | e257416c0725fe54a6af2aefd9c638e31d44a47a (diff) | |
Use intptr types in more code files (#1385)
* Use intptr types for segments and a few system files
* Use intptr types for more dma rom addresses
* Use intptr types in data referring to rom files
* Update and cleanup a few message casts
* Change sys_cfb functions and debugHeapStart to use pointers
* Update graph.c for the sys_cfb return type change
Diffstat (limited to 'src/code/z_sample.c')
| -rw-r--r-- | src/code/z_sample.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/z_sample.c b/src/code/z_sample.c index d316652cb..5baafb6f9 100644 --- a/src/code/z_sample.c +++ b/src/code/z_sample.c @@ -80,7 +80,7 @@ void Sample_LoadTitleStatic(SampleState* this) { u32 size = _title_staticSegmentRomEnd - _title_staticSegmentRomStart; this->staticSegment = GameState_Alloc(&this->state, size, "../z_sample.c", 163); - DmaMgr_SendRequest1(this->staticSegment, (u32)_title_staticSegmentRomStart, size, "../z_sample.c", 164); + DmaMgr_SendRequest1(this->staticSegment, (uintptr_t)_title_staticSegmentRomStart, size, "../z_sample.c", 164); } void Sample_Init(GameState* thisx) { |
