Skip to content

Commit

Permalink
Fixes a compiler warning by using an explicit type cast for the raw i…
Browse files Browse the repository at this point in the history
…mage data
  • Loading branch information
rstemmer committed Oct 24, 2023
1 parent af78025 commit 78d8394
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

int main()
{
unsigned char *bitmap =
unsigned char *bitmap = (unsigned char*)
"\x42\x4D\x3A\x00" "\x00\x00\x00\x00" "\x00\x00\x36\x00" "\x00\x00\x28\x00"
"\x00\x00\x01\x00" "\x00\x00\x01\x00" "\x00\x00\x01\x00" "\x18\x00\x00\x00"
"\x00\x00\x04\x00" "\x00\x00\xC4\x0E" "\x00\x00\xC4\x0E" "\x00\x00\x00\x00"
Expand Down

0 comments on commit 78d8394

Please sign in to comment.