]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-9581: fix signed/unsigned comparison build warning
authorMike Jerris <mike@jerris.com>
Mon, 24 Oct 2016 15:57:51 +0000 (11:57 -0400)
committerMike Jerris <mike@jerris.com>
Mon, 24 Oct 2016 15:57:51 +0000 (11:57 -0400)
src/include/switch_utils.h

index 1c423b202be9a6766daea1979e8260189d367b54..9c507010449172895ad9da11ddcb952b69c6f83f 100644 (file)
@@ -377,8 +377,8 @@ SWITCH_DECLARE(char *) switch_amp_encode(char *s, char *buf, switch_size_t len);
 
 static inline char *switch_print_bits(const unsigned char *byte, char *buf, switch_size_t buflen)
 {
-
-       int i, j = 0, k = 0, l = 0;
+       int i;
+       switch_size_t j = 0, k = 0, l = 0;
 
        while(k < buflen) {
                l = 0;