]> Kevux Git Server - fll/commit
Cleanup: Add explicit casts in the f_memory memset() calls.
authorKevin Day <kevin@kevux.org>
Tue, 8 Aug 2023 01:21:26 +0000 (20:21 -0500)
committerKevin Day <kevin@kevux.org>
Tue, 8 Aug 2023 01:21:26 +0000 (20:21 -0500)
commitf3a551526d8419e0660ab2a451f0706749fd75a3
tree049454248358029c91bca12f23dfd3c8b78223a7
parent6729a2cdbe64499c2f4879cba04fefae8ab02405
Cleanup: Add explicit casts in the f_memory memset() calls.

The pointer is cast to uint8_t to perform the arithmetic.
The pointer is not cast back but the cast happens in the function call.
Be explicit and designate that the cast back to a void pointer is intentional.
level_0/f_memory/c/memory.c
level_0/f_memory/c/private-memory.c