Branch: refs/heads/main Home: https://github.com/OpenAMP/open-amp Commit: 0107a285399b5e56c41fe7b06e833df1ed0e2d5d https://github.com/OpenAMP/open-amp/commit/0107a285399b5e56c41fe7b06e833df1e... Author: Ed Mooring ed.mooring@gmail.com Date: 2022-05-24 (Tue, 24 May 2022)
Changed paths: M lib/proxy/rpmsg_retarget.c M lib/remoteproc/rsc_table_parser.c
Log Message: ----------- lib: Remove warnings from -Wcast-align
There were several places in the library where a char* was used to point to a wider type (uint32_t or a struct). Casting the char* to the wider type resulted in a compiler warning.
This commit changes some simple casts to (void *) to silence compiler warnings. In rsc_table_parser.c, replace casts and pointer arithmetic with explicit uses of fw_rsc_hdr.
Signed-off-by: Ed Mooring ed.mooring@gmail.com
openamp-rp@lists.openampproject.org