Index: base/pe_image.h |
diff --git a/base/pe_image.h b/base/pe_image.h |
index f2a929d65bc18da2a841d094e281dd37a9c57376..f2461d3e1d7c28666b62e1a503b9c816ce2ca134 100644 |
--- a/base/pe_image.h |
+++ b/base/pe_image.h |
@@ -205,7 +205,7 @@ class PEImage { |
bool VerifyMagic() const; |
// Converts an rva value to the appropriate address. |
- virtual PVOID RVAToAddr(DWORD_PTR rva) const; |
+ virtual PVOID RVAToAddr(DWORD rva) const; |
// Converts an rva value to an offset on disk. |
// Returns true on success. |
@@ -225,7 +225,7 @@ class PEImageAsData : public PEImage { |
public: |
explicit PEImageAsData(HMODULE hModule) : PEImage(hModule) {} |
- virtual PVOID RVAToAddr(DWORD_PTR rva) const; |
+ virtual PVOID RVAToAddr(DWORD rva) const; |
}; |
inline bool PEImage::IsOrdinal(LPCSTR name) { |