From 3e9895e95100ced3a6fcbedcba75e50ca450b4f0 Mon Sep 17 00:00:00 2001 From: Andrea Canciani Date: Mon, 7 May 2012 19:05:05 +0200 Subject: [PATCH] png: Implement conversion of CAIRO_FORMAT_RGB30 to string MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes png.c:55: warning: enumeration value ‘CAIRO_FORMAT_RGB30’ not handled in switch --- test/png.c | 1 + 1 file changed, 1 insertion(+) diff --git a/test/png.c b/test/png.c index e90ac668b..3980ddca5 100644 --- a/test/png.c +++ b/test/png.c @@ -57,6 +57,7 @@ format_to_string (cairo_format_t format) case CAIRO_FORMAT_A8: return "a8"; case CAIRO_FORMAT_RGB16_565: return "rgb16"; case CAIRO_FORMAT_RGB24: return "rgb24"; + case CAIRO_FORMAT_RGB30: return "rgb30"; case CAIRO_FORMAT_ARGB32: return "argb32"; case CAIRO_FORMAT_INVALID: default: return "???";