diff --git a/src/channel_display.c b/src/channel_display.c index 0b08f58..e7bceac 100644 --- a/src/channel_display.c +++ b/src/channel_display.c @@ -136,7 +136,7 @@ static void resolveSpicePalette(const uint8_t * data, uint8_t ** ptr, if (offset) { *dst = (SpicePalette *)data + offset; - memcpy(dst_id, ptr, sizeof(*dst_id)); + memcpy(dst_id, *ptr, sizeof(*dst_id)); *ptr += sizeof(*dst_id); } else