[cairo-commit] src/cairo-compiler-private.h

Jeff Muizelaar jrmuizel at kemper.freedesktop.org
Wed Jul 9 13:36:00 PDT 2014


 src/cairo-compiler-private.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 30cb23d3b64ab085578c23a194391d982ad10d32
Author: Jeff Muizelaar <jmuizelaar at mozilla.com>
Date:   Wed Jul 9 16:33:53 2014 -0400

    clang-cl: Use size of the pointer explicitly
    
    This works around http://llvm.org/PR20216.

diff --git a/src/cairo-compiler-private.h b/src/cairo-compiler-private.h
index 3d9bd2b..216e71b 100644
--- a/src/cairo-compiler-private.h
+++ b/src/cairo-compiler-private.h
@@ -228,7 +228,7 @@
 	    __asm _emit ((__COUNTER__>>8) & 0xff) \
 	    __asm _emit ((__COUNTER__>>16) & 0xff)\
 	    __asm _emit ((__COUNTER__>>24) & 0xff)\
-	    __asm lea eax, file                   \
+	    __asm lea eax, dword ptr file         \
 	    __asm __internal_skip_line_no:        \
 	};                                        \
     } while (0)


More information about the cairo-commit mailing list