forked from thesofproject/sof
-
Notifications
You must be signed in to change notification settings - Fork 0
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 <laurentiu.mihalcea@nxp.com>
- Loading branch information
1 parent
a945ec4
commit a8ad6eb
Showing
2 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters