From eb913b6b34a81b95ea5f692b710e5766526853c6 Mon Sep 17 00:00:00 2001 From: Jeff Cohen Date: Tue, 17 Apr 2007 05:33:04 +0000 Subject: Fix build breakage on 64-bit systems. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36193 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Module.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/llvm/Module.h') diff --git a/include/llvm/Module.h b/include/llvm/Module.h index 1d82e2aad3..ecc9c0b8e2 100644 --- a/include/llvm/Module.h +++ b/include/llvm/Module.h @@ -318,11 +318,11 @@ public: static unsigned getFunctionListOffset() { Module *Obj = 0; - return reinterpret_cast(&Obj->FunctionList); + return unsigned(reinterpret_cast(&Obj->FunctionList)); } static unsigned getGlobalVariableListOffset() { Module *Obj = 0; - return reinterpret_cast(&Obj->GlobalList); + return unsigned(reinterpret_cast(&Obj->GlobalList)); } }; -- cgit v1.2.3