diff --git a/pykd/module.cpp b/pykd/module.cpp index 61c0659..ae6bc89 100644 --- a/pykd/module.cpp +++ b/pykd/module.cpp @@ -244,6 +244,8 @@ Module::getTypedVarByName( const std::string &symName ) TypedVarPtr Module::getTypedVarByTypeName( const std::string &typeName, ULONG64 offset ) { + offset = addr64(offset); + TypeInfoPtr typeInfo = getTypeByName( typeName ); return TypedVar::getTypedVar(typeInfo, VarDataMemory::factory(offset) );