summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Abd-El-Malek <jam@chromium.org>2014-05-20 10:29:41 -0700
committerJohn Abd-El-Malek <jam@chromium.org>2014-05-20 10:29:41 -0700
commit5ce98f54618a57509bd33df0a67cb53e0a755edc (patch)
tree391296b40b4a302a566743827e4e0a80c60e2339
parent41f0590a9d7d627783a1b11c86808959928fc1a6 (diff)
downloadpdfium-5ce98f54618a57509bd33df0a67cb53e0a755edc.tar.xz
Fix warning on Mac.
-rw-r--r--core/src/fpdfapi/fpdf_edit/fpdf_edit_doc.cpp2
1 files changed, 1 insertions, 1 deletions
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;