Skip to content

Commit

Permalink
Work around -Wstringop-overflow false positive.
Browse files Browse the repository at this point in the history
  • Loading branch information
skullernet authored and Paril committed Dec 10, 2021
1 parent 5bfdd01 commit 25d567c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/refresh/images.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ IMG_FloodFill
Fill background pixels so mipmapping doesn't have haloes
=================
*/
static void IMG_FloodFill(byte *skin, int skinwidth, int skinheight)
static q_noinline void IMG_FloodFill(byte *skin, int skinwidth, int skinheight)
{
byte fillcolor = *skin; // assume this is the pixel to fill
floodfill_t fifo[FLOODFILL_FIFO_SIZE];
Expand Down

0 comments on commit 25d567c

Please sign in to comment.