From 5ce98f54618a57509bd33df0a67cb53e0a755edc Mon Sep 17 00:00:00 2001 From: John Abd-El-Malek Date: Tue, 20 May 2014 10:29:41 -0700 Subject: Fix warning on Mac. --- core/src/fpdfapi/fpdf_edit/fpdf_edit_doc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/fpdfapi/fpdf_edit/fpdf_edit_doc.cpp b/core/src/fpdfapi/fpdf_edit/fpdf_edit_doc.cpp index 9157b96420..e11d93380a 100644 --- a/core/src/fpdfapi/fpdf_edit/fpdf_edit_doc.cpp +++ b/core/src/fpdfapi/fpdf_edit/fpdf_edit_doc.cpp @@ -567,7 +567,7 @@ void FX_GetCharWidth(CTFontRef font, UniChar start, UniChar end, int* width) { CGFloat size = CTFontGetSize(font); for (; start <= end; ++start) { - CGGlyph pGlyph = NULL; + CGGlyph pGlyph = 0; CFIndex count = 1; CTFontGetGlyphsForCharacters(font, &start, &pGlyph, count); CGSize advances; -- cgit v1.2.3