[gthumb] webp: Big-Endian: fix type.



commit e26be907a109725ca0803c3b3a56494fac5c1210
Author: Dominique Leuenberger <dimstar opensuse org>
Date:   Mon Jan 7 20:47:12 2013 +0100

    webp: Big-Endian: fix type.
    
    Fix bug 691309.

 extensions/cairo_io/cairo-image-surface-webp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/extensions/cairo_io/cairo-image-surface-webp.c b/extensions/cairo_io/cairo-image-surface-webp.c
index 965d0d3..35bf111 100644
--- a/extensions/cairo_io/cairo-image-surface-webp.c
+++ b/extensions/cairo_io/cairo-image-surface-webp.c
@@ -97,7 +97,7 @@ _cairo_image_surface_create_from_webp (GInputStream  *istream,
 #if G_BYTE_ORDER == G_LITTLE_ENDIAN
 	config.output.colorspace = MODE_BGRA;
 #elif G_BYTE_ORDER == G_BIG_ENDIAN
-	config.output.colorspace = MODE_ARGB
+	config.output.colorspace = MODE_ARGB;
 #endif
 	config.output.u.RGBA.rgba = (uint8_t *) cairo_image_surface_get_data (surface);
 	config.output.u.RGBA.stride = cairo_image_surface_get_stride (surface);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]