Index: fpdfsdk/src/fpdfdoc.cpp |
diff --git a/fpdfsdk/src/fpdfdoc.cpp b/fpdfsdk/src/fpdfdoc.cpp |
index 4a4e1de0fe39e9b9842d3e1c52e1a377fbf05969..c88dccd86a71b13a9216a3cdef098e73f60d0478 100644 |
--- a/fpdfsdk/src/fpdfdoc.cpp |
+++ b/fpdfsdk/src/fpdfdoc.cpp |
@@ -288,7 +288,7 @@ DLLEXPORT FPDF_BOOL STDCALL FPDFLink_GetAnnotRect(FPDF_LINK linkAnnot, |
return FALSE; |
CPDF_Dictionary* pAnnotDict = |
ToDictionary(static_cast<CPDF_Object*>(linkAnnot)); |
- CPDF_Rect rt = pAnnotDict->GetRectBy("Rect"); |
+ CFX_FloatRect rt = pAnnotDict->GetRectBy("Rect"); |
rect->left = rt.left; |
rect->bottom = rt.bottom; |
rect->right = rt.right; |