Get rid of some warnings about unused variables, signed/unsigned
comparisons and incomplete initializations.

diff --git a/tools/bin2res.c b/tools/bin2res.c
index ed27db2..63b1117 100644
--- a/tools/bin2res.c
+++ b/tools/bin2res.c
@@ -102,7 +102,7 @@
 
 int insert_hex (char * infile, FILE * outfile)
 {
-	int i;
+	unsigned int i;
 	int 		fd;
 	struct stat	st;