mirror of
https://github.com/hathach/tinyusb.git
synced 2025-04-25 03:02:26 +00:00
Fix actual compiler warning on gcc 10.3.1
This commit is contained in:
parent
3681ad2941
commit
b12863d27c
@ -295,7 +295,7 @@ void tu_print_mem(void const *buf, uint32_t count, uint8_t indent)
|
|||||||
|
|
||||||
// fill up last row to 16 for printing ascii
|
// fill up last row to 16 for printing ascii
|
||||||
const uint32_t remain = count%16;
|
const uint32_t remain = count%16;
|
||||||
uint8_t nback = (remain ? remain : 16);
|
uint8_t nback = (uint8_t)(remain ? remain : 16);
|
||||||
|
|
||||||
if ( remain )
|
if ( remain )
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user