diff options
-rw-r--r-- | com32/lib/sys/vesa/background.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/com32/lib/sys/vesa/background.c b/com32/lib/sys/vesa/background.c index 586ee2ea..0c5a0571 100644 --- a/com32/lib/sys/vesa/background.c +++ b/com32/lib/sys/vesa/background.c @@ -261,10 +261,10 @@ int vesacon_set_background(unsigned int rgb) if (__vesacon_pixel_format == PXF_NONE) return 0; /* Not in graphics mode */ - asm("cld; rep; stosl" - : "+D" (bgptr), "+c" (count) - : "a" (rgb) - : "memory"); + asm volatile("cld; rep; stosl" + : "+D" (bgptr), "+c" (count) + : "a" (rgb) + : "memory"); draw_background(); return 0; |