Skip to content
Snippets Groups Projects
Commit 744cf3ec authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

It appears MSVC doesn't support the 25-year-old standard restrict qualifier

parent 28ac1016
No related branches found
No related tags found
No related merge requests found
Pipeline #7985 passed
......@@ -577,13 +577,13 @@ struct blockstate {
};
static bool
can_cheat(struct blockstate *restrict bs, struct vmem_cell *restrict vc)
can_cheat(struct blockstate *bs, struct vmem_cell *vc)
{
return vc->bg == bs->cheat_colour && (vc->ch == ' ') && (vc->font < CONIO_FIRST_FREE_FONT) && !(vc->bg & 0x02000000);
}
static void
calc_charstate(struct blockstate *restrict bs, struct vmem_cell *restrict vc, struct charstate *restrict cs, int xpos, int ypos)
calc_charstate(struct blockstate *bs, struct vmem_cell *vc, struct charstate *cs, int xpos, int ypos)
{
bool not_hidden = true;
cs->slow = bs->font_data_width != 8;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment