Fix warning on Mac.
[pdfium.git] / core / src / fpdfapi / fpdf_edit / fpdf_edit_doc.cpp
index 9157b96..e11d933 100644 (file)
@@ -567,7 +567,7 @@ void FX_GetCharWidth(CTFontRef font, UniChar start, UniChar end, int* width)
 {\r
     CGFloat size = CTFontGetSize(font);\r
     for (; start <= end; ++start) {\r
-        CGGlyph pGlyph = NULL;\r
+        CGGlyph pGlyph = 0;\r
         CFIndex count = 1;\r
         CTFontGetGlyphsForCharacters(font, &start, &pGlyph, count);\r
         CGSize advances;\r