diff options
Diffstat (limited to 'common/usbc/usb_sm.c')
-rw-r--r-- | common/usbc/usb_sm.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/common/usbc/usb_sm.c b/common/usbc/usb_sm.c index 3419bf5bb1..ce7c24b332 100644 --- a/common/usbc/usb_sm.c +++ b/common/usbc/usb_sm.c @@ -115,8 +115,9 @@ void set_state(const int port, struct sm_ctx *const ctx, * intended state to transition into. */ if (internal->exit) { - CPRINTF("C%d: Ignoring set state to 0x%08x within 0x%08x", - port, new_state, ctx->current); + CPRINTF("C%d: Ignoring set state to 0x%08lx within 0x%08lx", + port, (unsigned long)new_state, + (unsigned long)ctx->current); return; } |