diff -wbBur ziproxy-3.3.0/src/image.c ziproxy-3.3.0.q/src/image.c --- ziproxy-3.3.0/src/image.c 2013-01-04 20:48:50.000000000 +0400 +++ ziproxy-3.3.0.q/src/image.c 2013-08-11 00:24:03.868670477 +0400 @@ -93,6 +93,10 @@ #define MIN_INSIZE_TO_JPEG 600 #define MIN_INSIZE_TO_JP2K 800 + +#define false 0 +#define true !!0 + //Forwards. There are more utility functions, but they're used only once. static raw_bitmap *new_raw_bitmap(); @@ -905,7 +909,7 @@ desc.size=insize; desc.x.pos=0; - if ((GifFile = DGifOpen((void*)&desc, &gif_mem_input)) == NULL) + if ((GifFile = DGifOpen((void*)&desc, &gif_mem_input, NULL)) == NULL) return( IMG_RET_ERR_UNKNOWN + IMG_RET_FLG_WHILE_DECOMP);//more possible reasons bmp = new_raw_bitmap();