updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / anic-hg / uintptr.patch
blob00b7443c124e8829b74aa9e133b288580c515609
1 diff -r a487a021ed5d src/types.cpp
2 --- a/src/types.cpp Thu Sep 30 21:21:28 2010 -0700
3 +++ b/src/types.cpp Sat Nov 13 11:35:32 2010 +0900
4 @@ -1511,7 +1511,7 @@
5 TypeStatus::TypeStatus(Type *type, const TypeStatus &otherStatus) : type(type), retType(otherStatus.retType), code(NULL) {}
6 TypeStatus::~TypeStatus() {}
7 TypeStatus::operator Type *() const {return type;}
8 -TypeStatus::operator uintptr_t() const {return (unsigned int)type;}
9 +TypeStatus::operator uintptr_t() const {return (uintptr_t)type;}
10 DataTree *TypeStatus::castCode(const Type &destType) const {
11 StdType *thisType = (StdType *)type;
12 StdType *otherType = (StdType *)(&destType);