From e899dd7d820ec1ab7cb27bfd23dbe0a09ec3a0c3 Mon Sep 17 00:00:00 2001 From: Henrique Nakashima Date: Thu, 1 Feb 2018 19:17:04 +0000 Subject: Change return of FPDFDest_GetDestPageIndex to int. Bug: pdfium:938 Change-Id: Ic530788313157ce2513f91217705401da7a05ef8 Reviewed-on: https://pdfium-review.googlesource.com/25030 Reviewed-by: Tom Sepez Reviewed-by: dsinclair Commit-Queue: Henrique Nakashima --- public/fpdf_doc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'public') diff --git a/public/fpdf_doc.h b/public/fpdf_doc.h index 7ec232c45e..b0a1f3b492 100644 --- a/public/fpdf_doc.h +++ b/public/fpdf_doc.h @@ -196,8 +196,8 @@ FPDFDest_GetPageIndex(FPDF_DOCUMENT document, FPDF_DEST dest); // dest - handle to the destination. // // Returns the -based page index containing |dest|. Returns -1 on error. -FPDF_EXPORT long FPDF_CALLCONV FPDFDest_GetDestPageIndex(FPDF_DOCUMENT document, - FPDF_DEST dest); +FPDF_EXPORT int FPDF_CALLCONV FPDFDest_GetDestPageIndex(FPDF_DOCUMENT document, + FPDF_DEST dest); // Get the view (fit type) specified by |dest|. // Experimental API. Subject to change. -- cgit v1.2.3