Skip to content

Commit

Permalink
esp_rgb: fix compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
igrr committed Dec 5, 2023
1 parent 6b1cc48 commit ec623f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hw/display/esp_rgb.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ static uint64_t esp_rgb_read(void *opaque, hwaddr addr, unsigned int size)

default:
#if RGB_WARNING
warn_report("[ESP RGB] Unsupported read to 0x%lx", addr);
warn_report("[ESP RGB] Unsupported read to 0x%lx", (unsigned long) addr);
#endif
break;
}
Expand Down Expand Up @@ -135,7 +135,7 @@ static void esp_rgb_write(void *opaque, hwaddr addr,

default:
#if RGB_WARNING
warn_report("[ESP RGB] Unsupported write to 0x%lx (%08lx)", addr, value);
warn_report("[ESP RGB] Unsupported write to 0x%lx (%08lx)", (unsigned long) addr, (unsigned long) value);
#endif
break;
}
Expand Down

0 comments on commit ec623f6

Please sign in to comment.