diff options
| author | Roman971 <romanlasnier@hotmail.com> | 2020-03-23 23:15:45 +0100 |
|---|---|---|
| committer | Roman971 <romanlasnier@hotmail.com> | 2020-03-23 23:20:34 +0100 |
| commit | da151300f74b13c8046e86cebf23112237627e1b (patch) | |
| tree | b4cf9009d59c3cab6a69a153ce3a4d4aac20936e /src/code | |
| parent | c2b9feb5d36cee4f400d5346eff8986ff3d1b7e0 (diff) | |
Run gcc checks with NON_MATCHING defined
Diffstat (limited to 'src/code')
| -rw-r--r-- | src/code/gfxprint.c | 2 | ||||
| -rw-r--r-- | src/code/z_sample.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/code/gfxprint.c b/src/code/gfxprint.c index fbcca3cee..cc2f21e69 100644 --- a/src/code/gfxprint.c +++ b/src/code/gfxprint.c @@ -223,7 +223,7 @@ void GfxPrint_SetBasePosPx(GfxPrint* this, s32 x, s32 y) { #ifdef NON_MATCHING // regalloc and ordering differences -void GfxPrint_PrintCharImpl(GfxPrint* this, char c) { +void GfxPrint_PrintCharImpl(GfxPrint* this, u8 c) { if (this->flag & GFXPRINT_UPDATE_MODE) { this->flag &= ~GFXPRINT_UPDATE_MODE; diff --git a/src/code/z_sample.c b/src/code/z_sample.c index cbd934701..2f4f3fc6f 100644 --- a/src/code/z_sample.c +++ b/src/code/z_sample.c @@ -20,8 +20,8 @@ void Sample_Draw(SampleContext* this) { func_800C6AC4(gfxArr, gfxCtx, "../z_sample.c", 62); - gSPSegment(gfxCtx->polyOpa.p++, 0, NULL; - gSPSegment(gfxCtx->polyOpa.p++, 1, this->staticSegment); + gSPSegment(gfxCtx->polyOpa.p++, 0x00, NULL); + gSPSegment(gfxCtx->polyOpa.p++, 0x01, this->staticSegment); func_80095248(gfxCtx, 0, 0, 0); |
