1 diff --git a/src/mga_exa.c b/src/mga_exa.c
2 index 69ffa16..c9e0038 100644
7 + * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
9 * Copyright 2006 Red Hat, Inc.
11 * Permission is hereby granted, free of charge, to any person obtaining a
12 @@ -756,7 +758,7 @@ mgaWaitMarker(ScreenPtr pScreen, int marker)
16 - OUTREG(MGAREG_CACHEFLUSH, 0);
17 + OUTREG8(MGAREG_CACHEFLUSH, 0);
19 /* wait until the "drawing engine busy" bit is unset */
20 while (INREG (MGAREG_Status) & 0x10000);