Converted EXPR_*SIZE macros to use offsetof() to avoid MSVC compiler warnings. (CVS 6334)

FossilOrigin-Name: 5e8e16f7d505a4b21272f1d300f366ee0e211e56
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 19fb9b1..2726a46 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -11,7 +11,7 @@
 *************************************************************************
 ** Internal interface definitions for SQLite.
 **
-** @(#) $Id: sqliteInt.h,v 1.839 2009/02/28 10:47:42 danielk1977 Exp $
+** @(#) $Id: sqliteInt.h,v 1.840 2009/03/02 17:18:48 shane Exp $
 */
 #ifndef _SQLITEINT_H_
 #define _SQLITEINT_H_
@@ -1503,9 +1503,9 @@
 ** and an Expr struct with the EP_TokenOnly flag set.
 */
 #define EXPR_FULLSIZE           sizeof(Expr)
-#define EXPR_REDUCEDSIZE        ((int)(&((Expr*)(0))->iTable))
-#define EXPR_TOKENONLYSIZE      ((int)(&((Expr*)(0))->span))
-#define EXPR_SPANONLYSIZE       ((int)(&((Expr*)(0))->pLeft))
+#define EXPR_REDUCEDSIZE        offsetof(Expr,iTable)
+#define EXPR_TOKENONLYSIZE      offsetof(Expr,span)
+#define EXPR_SPANONLYSIZE       offsetof(Expr,pLeft)
 
 /*
 ** Flags passed to the sqlite3ExprDup() function. See the header comment