Takashi Iwai
5553c4c7ce
OBS-URL: https://build.opensuse.org/request/show/667600 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libcaca?expand=0&rev=48
28 lines
1021 B
Diff
28 lines
1021 B
Diff
Author: Josef Möllers <jmoellers@suse.de>
|
|
Index: libcaca-da28e9684ef445ac8d42745644336b8a75c01855/src/common-image.h
|
|
===================================================================
|
|
--- libcaca-da28e9684ef445ac8d42745644336b8a75c01855.orig/src/common-image.h
|
|
+++ libcaca-da28e9684ef445ac8d42745644336b8a75c01855/src/common-image.h
|
|
@@ -13,7 +13,7 @@
|
|
struct image
|
|
{
|
|
char *pixels;
|
|
- unsigned int w, h;
|
|
+ size_t w, h;
|
|
struct caca_dither *dither;
|
|
void *priv;
|
|
};
|
|
Index: libcaca-da28e9684ef445ac8d42745644336b8a75c01855/caca/dither.c
|
|
===================================================================
|
|
--- libcaca-da28e9684ef445ac8d42745644336b8a75c01855.orig/caca/dither.c
|
|
+++ libcaca-da28e9684ef445ac8d42745644336b8a75c01855/caca/dither.c
|
|
@@ -116,7 +116,7 @@ enum color_mode
|
|
struct caca_dither
|
|
{
|
|
int bpp, has_palette, has_alpha;
|
|
- int w, h, pitch;
|
|
+ size_t w, h, pitch;
|
|
int rmask, gmask, bmask, amask;
|
|
int rright, gright, bright, aright;
|
|
int rleft, gleft, bleft, aleft;
|