Status: applied diff -ruN -x Makefile.in -x configure build-tree.orig/swlibs/texus2/lib/ncc.c swlibs/texus2/lib/ncc.c --- build-tree.orig/swlibs/texus2/lib/ncc.c 2000-08-03 02:27:17.000000000 +0200 +++ swlibs/texus2/lib/ncc.c 2003-05-18 19:15:05.000000000 +0200 @@ -26,10 +26,10 @@ #include "texusint.h" static int -dithmat[4][4] = { 0, 8, 2, 10, - 12, 4, 14, 6, - 3, 11, 1, 9, - 15, 7, 13, 5 }; +dithmat[4][4] = { {0, 8, 2, 10}, + {12, 4, 14, 6}, + {3, 11, 1, 9}, + {15, 7, 13, 5} }; static struct { int yhist[256], ihist[256], qhist[256]; diff -ruN -x Makefile.in -x configure build-tree.orig/swlibs/texus2/lib/quantize.c swlibs/texus2/lib/quantize.c --- build-tree.orig/swlibs/texus2/lib/quantize.c 2000-08-03 02:27:20.000000000 +0200 +++ swlibs/texus2/lib/quantize.c 2003-05-18 19:14:25.000000000 +0200 @@ -28,10 +28,10 @@ #include "texusint.h" static int -dithmat[4][4] = { 0, 8, 2, 10, - 12, 4, 14, 6, - 3, 11, 1, 9, - 15, 7, 13, 5 }; +dithmat[4][4] = { {0, 8, 2, 10}, + {12, 4, 14, 6}, + {3, 11, 1, 9}, + {15, 7, 13, 5} }; // for error diffusion. static int errR[MAX_TEXWIDTH], errG[MAX_TEXWIDTH], errB[MAX_TEXWIDTH]; diff -ruN -x Makefile.in -x configure build-tree.orig/swlibs/texus2/lib/nccnnet.c swlibs/texus2/lib/nccnnet.c --- build-tree.orig/swlibs/texus2/lib/nccnnet.c 2000-08-03 02:27:18.000000000 +0200 +++ swlibs/texus2/lib/nccnnet.c 2003-05-31 20:29:50.000000000 +0200 @@ -409,7 +409,7 @@ txMapPal256toYAB((FxU32 *)yabTable, (FxU8 *)map, ncolors, (FxU32 *)pxMip->pal); if( txVerbose ) { - printf("eMax=(%3d%3d%3d)...eAvg=(%3d%3d%3d)\n", + printf("eMax=(%3ld%3ld%3ld)...eAvg=(%3ld%3ld%3ld)\n", errG, errR, errB, totG/ncolors, totR/ncolors, totB/ncolors );