From 991702632f6f58bd4a2356107be79edcd1983482 Mon Sep 17 00:00:00 2001 From: "deanm@google.com" Date: Mon, 18 Aug 2008 12:36:07 +0000 Subject: Return 0 instead of NULL for a non-pointer type. Eliminates a warning in GCC. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@981 0039d316-1c4b-4281-b951-d872f2087c98 --- skia/sgl/SkTypeface_fake.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'skia') diff --git a/skia/sgl/SkTypeface_fake.cpp b/skia/sgl/SkTypeface_fake.cpp index 2564dd2..6aaf3b0 100644 --- a/skia/sgl/SkTypeface_fake.cpp +++ b/skia/sgl/SkTypeface_fake.cpp @@ -4,7 +4,7 @@ uint32_t SkTypeface::UniqueID(const SkTypeface* face) { - return NULL; + return 0; } void SkTypeface::serialize(SkWStream* stream) const { -- cgit v1.1