Fix for Bug 1411 - GCCE: c-expression operand needs brackets in asm Compiler_Compatibility
authorarunabha
Thu, 25 Feb 2010 13:23:10 +0000
branchCompiler_Compatibility
changeset 69 211f5da0b826
parent 68 367a75030909
child 70 3f73f939db10
Fix for Bug 1411 - GCCE: c-expression operand needs brackets in asm
kernel/eka/include/e32def.h
--- a/kernel/eka/include/e32def.h	Thu Feb 25 13:20:13 2010 +0000
+++ b/kernel/eka/include/e32def.h	Thu Feb 25 13:23:10 2010 +0000
@@ -446,7 +446,7 @@
 #if __GNUC__ < 4
 #define _FOFF(c,f)			(((TInt)&(((c *)0x1000)->f))-0x1000)
 #else
-#define _FOFF(c,f)			__builtin_offsetof(c,f)
+#define _FOFF(c,f)			(__builtin_offsetof(c,f))
 #endif
 #endif