Basic support for the DTAP User-User IE; print bitfields in a way more
[obnox/wireshark/wip.git] / util.c
diff --git a/util.c b/util.c
index 7e2bb41b1623087f75a74d78a84535c696c1b145..a86b48afd34a7c09c9e971927294b062c37ab812 100644 (file)
--- a/util.c
+++ b/util.c
@@ -59,7 +59,7 @@ get_args_as_string(int argc, char **argv, int optindex)
         */
        len = 0;
        for (i = optindex; i < argc; i++) {
-               len += strlen(argv[i]);
+               len += (int) strlen(argv[i]);
                len++;  /* space, or '\0' if this is the last argument */
        }