Skip to content

Commit

Permalink
display: fix invalid pointer increment
Browse files Browse the repository at this point in the history
  • Loading branch information
gnif committed Nov 11, 2023
1 parent 577f56a commit c849422
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/channel_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ static void resolveSpicePalette(const uint8_t * data, uint8_t ** ptr,
{
*dst = (SpicePalette *)data + offset;
memcpy(dst_id, ptr, sizeof(*dst_id));
ptr += sizeof(*dst_id);
*ptr += sizeof(*dst_id);
}
else
{
Expand Down

0 comments on commit c849422

Please sign in to comment.