Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cast pointers to size_t instead of uint32_t when printing
On 64-bit platforms such as i.MX93 the pointers are 64-bit. As such, casting them to uint32_t leads to compilation warnings such as: "cast to pointer from integer of different size" To fix this, cast to size_t which, on 32-bit platforms is 32-bit and 64-bit on 64-bit platforms. Printing will be done via "%zx". Signed-off-by: Laurentiu Mihalcea <[email protected]>
- Loading branch information