Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: implied return and NULL cast to uint64_t (#171)
* fix: add return statements to wrapper functions in cute_draw.h the wrapper functions in question are calling internal functions that return the matching bool, i assume the return statement was implied * fix: fix possible undefined behavior from NULL cast previously, a NULL was returned, which was casted to uint64_t. this is undefined behavior; now it just returns empty CF_Audio, which can easily be checked and compared (NOTE: comparing the returned CF_Audio to NULL in case of functions returning NULL would not yield anything, as NULL is first casted to uint64_t, possibly messing up the comparison to NULL)
- Loading branch information