summaryrefslogtreecommitdiff
path: root/src/code
diff options
context:
space:
mode:
authorfig02 <fig02srl@gmail.com>2020-03-23 19:21:21 -0400
committerGitHub <noreply@github.com>2020-03-23 19:21:21 -0400
commit875d962b4cca028429bbacd5d8fc2056d48bce43 (patch)
tree00fca820704739cf1108a3250442763923d4867a /src/code
parentc2b9feb5d36cee4f400d5346eff8986ff3d1b7e0 (diff)
parentbd9dff6b7272082cdad20ba99e5c9ec540070c89 (diff)
Merge pull request #29 from Roman971/check-changes
Run gcc checks with NON_MATCHING and Update progress script
Diffstat (limited to 'src/code')
-rw-r--r--src/code/gfxprint.c2
-rw-r--r--src/code/z_sample.c4
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);