Package: xbox-raincoat Version: 0.10-1 Severity: serious Tags: patch When building 'xbox-raincoat' on amd64/unstable, I get the following error:
gcc -O2 -Wall -Werror -o ./bin/raincoat src/raincoat.c src/BootFlash.c cc1: warnings being treated as errors src/raincoat.c: In function 'main': src/raincoat.c:390: warning: format '%d' expects type 'int', but argument 2 has type 'long unsigned int' make[1]: *** [raincoat] Error 1 make[1]: Leaving directory `/xbox-raincoat-0.10' With the attached patch 'xbox-raincoat' can be compiled on amd64 with gcc-4.1. Regards Andreas Jochens diff -urN ../tmp-orig/xbox-raincoat-0.10/src/raincoat.c ./src/raincoat.c --- ../tmp-orig/xbox-raincoat-0.10/src/raincoat.c 2005-08-11 18:06:04.000000000 +0000 +++ ./src/raincoat.c 2006-06-20 10:03:31.000000000 +0000 @@ -387,7 +387,7 @@ // Add the flash. if((--nCountMaximumFlashTypes)==0) { // // Warn when the last possible flash is going to be added. - printf(" (note, raincoat only supports %d flash types, rest ignored)\n", (sizeof(aknownflashtype)/sizeof(KNOWN_FLASH_TYPE))-1); + printf(" (note, raincoat only supports %ld flash types, rest ignored)\n", (sizeof(aknownflashtype)/sizeof(KNOWN_FLASH_TYPE))-1); } /* printf("DEBUG: Added to pos %i\n", nCountSeen); -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]