Description: fix a GCC warning.
Author: Joao Eriberto Mota Filho <eriberto@debian.org>
Last-Update: 2015-02-10
Index: bittwist-2.0/src/bittwiste.c
===================================================================
--- bittwist-2.0.orig/src/bittwiste.c
+++ bittwist-2.0/src/bittwiste.c
@@ -96,7 +96,8 @@ int main(int argc, char **argv)
                 /* make a byte of data from every 2 characters of optarg */
                 for (i = 0; i < payload_len_opt; i++) {
                     /* ugly - let me know if there is a better way to achieve this */
-                    sscanf(optarg, "%02x", &payload_opt[i]);
+		    /* [FIX] src/bittwiste.c:99:21: warning: format ‘%x’ expects argument of type ‘unsigned int *’, but argument 3 has type ‘u_char *’ [-Wformat=] */
+                    sscanf(optarg, "%02x", (unsigned int *) &payload_opt[i]);
                     *optarg++; *optarg++; /* move pass 2 characters */
                 }
                 break;
