Skip to content

Commit cdbebf0

Browse files
pemensikreedjc
authored andcommitted
Fix unsorted printf args
invalid_type: Argument "conn->len_frame_total" to format specifier "%zd" was expected to have type "ssize_t"("long") but has type "unsigned int".
1 parent 917293b commit cdbebf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/fstrm_capture.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -998,7 +998,7 @@ can_read_full_frame(struct conn *conn)
998998
conn->len_buf, conn->len_frame_total);
999999
if (conn->len_frame_total > conn->ctx->capture_highwater) {
10001000
conn_log(CONN_WARNING, conn,
1001-
"Skipping %zd byte message (%zd buffer)",
1001+
"Skipping %u byte message (%zd buffer)",
10021002
conn->len_frame_total,
10031003
conn->ctx->capture_highwater);
10041004
conn->bytes_skip = conn->len_frame_total;

0 commit comments

Comments
 (0)