Fixed harmless warning in M33 port.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16409 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
Giovanni Di Sirio 2023-11-15 09:59:05 +00:00
parent d340c452ee
commit c23856dec5
1 changed files with 1 additions and 1 deletions

View File

@ -511,7 +511,7 @@ struct port_context {
#else
#define port_switch(ntp, otp) do { \
struct port_intctx *r13 = (struct port_intctx *)__get_PSP(); \
if ((stkalign_t *)(r13 - 1) < (otp)->wabase) { \
if ((stkalign_t *)(void *)(r13 - 1) < (otp)->wabase) { \
chSysHalt("stack overflow"); \
} \
__port_switch(ntp, otp); \