diff options
| author | engineer124 <47598039+engineer124@users.noreply.github.com> | 2023-06-05 05:43:12 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-04 15:43:12 -0400 |
| commit | 47bc7c12e2d28b8d8ed1cff8df9c17395aefce80 (patch) | |
| tree | 7ebf8ec3fc5825c4bbe7cf28717d5abd48ce50ba /src/boot_O2/system_heap.c | |
| parent | a995e4cf6181bab778b89d073a2aa67860d82721 (diff) | |
Misc Cleanup (#1257)
* a lot of brackets, and some other things
* oops
* another bracket
* check flag all
* just a few more...
* PR suggestions
* PR comment
* pr
* one more bracket
Diffstat (limited to 'src/boot_O2/system_heap.c')
| -rw-r--r-- | src/boot_O2/system_heap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot_O2/system_heap.c b/src/boot_O2/system_heap.c index 66e53dc12..365d94596 100644 --- a/src/boot_O2/system_heap.c +++ b/src/boot_O2/system_heap.c @@ -61,7 +61,7 @@ void* SystemHeap_RunBlockFunc8(void* blk, size_t nBlk, size_t blkSize, BlockFunc blk = SystemHeap_Malloc(nBlk * blkSize); } - if (blk != NULL && blockFunc != NULL) { + if ((blk != NULL) && (blockFunc != NULL)) { uintptr_t pos = blk; for (; pos < (uintptr_t)blk + (nBlk * blkSize); pos += (blkSize & ~0)) { |
