]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
bytes is signed
authorSeven Du <dujinfang@gmail.com>
Tue, 16 Sep 2014 11:15:01 +0000 (19:15 +0800)
committerSeven Du <dujinfang@gmail.com>
Tue, 16 Sep 2014 11:15:12 +0000 (19:15 +0800)
src/mod/endpoints/mod_verto/mod_verto.c

index 5586e55d1e13970c2271856e3343573b255bf0c7..9ab74cd07182d6e315f792004468bd61995bcbc7 100644 (file)
@@ -1716,7 +1716,7 @@ static void client_run(jsock_t *jsock)
                        bytes = ws_read_frame(&jsock->ws, &oc, &data);
        
                        if (bytes < 0) {
-                               die("BAD READ %" SWITCH_SIZE_T_FMT "\n", bytes);
+                               die("BAD READ %" SWITCH_SSIZE_T_FMT "\n", bytes);
                                break;
                        }