Skip to content

Fix two warnings that clang treats as errors#119

Merged
mkst merged 1 commit intomkst:masterfrom
queueRAM:fix_clang_errors
Jan 4, 2026
Merged

Fix two warnings that clang treats as errors#119
mkst merged 1 commit intomkst:masterfrom
queueRAM:fix_clang_errors

Conversation

@queueRAM
Copy link
Contributor

@queueRAM queueRAM commented Jan 2, 2026

(1) src.us/sssv/collision.c:295:29: error: incompatible function pointer types assigning

  • changed return type from s32 -> u8 to match functions

(2) src.us/sssv/camera.c:4302:5: error: implicit declaration of function 'func_8032D680_73ED30'

  • added func_8032D680_73ED30 prototype to functions.us.h

@mkst
Copy link
Owner

mkst commented Jan 4, 2026

can you try rebasing off master? I think the CI has broken at some point so I've pushed an attempted fix.

@queueRAM
Copy link
Contributor Author

queueRAM commented Jan 4, 2026

Thanks, I rebased on your master branch and pushed, but still looks like part of the CI may still be failing

@mkst
Copy link
Owner

mkst commented Jan 4, 2026

Aha - CI got a little further - can you try again (still my fault not yours!)

(1) src.us/sssv/collision.c:295:29: error: incompatible function pointer types assigning
 - changed return type from s32 -> u8 to match functions
(2) src.us/sssv/camera.c:4302:5: error: implicit declaration of function 'func_8032D680_73ED30'
- added func_8032D680_73ED30 prototype to functions.us.h
@mkst
Copy link
Owner

mkst commented Jan 4, 2026

Looks good, thanks - if you rebase the other two PRs then they should pass the CI too 👍

@mkst mkst merged commit da86209 into mkst:master Jan 4, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants