From 065e9321b84fc0490f3da9099e8840c65e06868d Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Thu, 23 Jul 2015 11:34:44 -0700 Subject: Fix FX_BOOL type mismatches. Extracted from https://codereview.chromium.org/1252613002/ R=thestig@chromium.org Review URL: https://codereview.chromium.org/1253603002 . --- public/fpdf_sysfontinfo.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'public/fpdf_sysfontinfo.h') diff --git a/public/fpdf_sysfontinfo.h b/public/fpdf_sysfontinfo.h index dbadb89afe..61465f4262 100644 --- a/public/fpdf_sysfontinfo.h +++ b/public/fpdf_sysfontinfo.h @@ -94,13 +94,13 @@ typedef struct _FPDF_SYSFONTINFO { * charset - Character set identifier for the requested font. See above defined constants. * pitch_family - A combination of flags. See above defined constants. * face - Typeface name. Currently use system local encoding only. - * bExact - Pointer to an boolean value receiving the indicator whether mapper found the exact match. + * bExact - Pointer to a boolean value receiving the indicator whether mapper found the exact match. * If mapper is not sure whether it's exact match, ignore this paramter. * Return Value: * An opaque pointer for font handle, or NULL if system mapping is not supported. **/ - void* (*MapFont)(struct _FPDF_SYSFONTINFO* pThis, int weight, int bItalic, int charset, int pitch_family, - const char* face, int* bExact); + void* (*MapFont)(struct _FPDF_SYSFONTINFO* pThis, int weight, FPDF_BOOL bItalic, int charset, int pitch_family, + const char* face, FPDF_BOOL* bExact); /** * Method: GetFont -- cgit v1.2.3