Skip to content

Commit

Permalink
Fix unsorted printf args
Browse files Browse the repository at this point in the history
invalid_type: Argument "conn->len_frame_total" to format specifier "%zd" was expected to have type "ssize_t"("long") but has type "unsigned int".
  • Loading branch information
pemensik authored and reedjc committed Apr 2, 2021
1 parent 917293b commit cdbebf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fstrm_capture.c
Original file line number Diff line number Diff line change
Expand Up @@ -998,7 +998,7 @@ can_read_full_frame(struct conn *conn)
conn->len_buf, conn->len_frame_total);
if (conn->len_frame_total > conn->ctx->capture_highwater) {
conn_log(CONN_WARNING, conn,
"Skipping %zd byte message (%zd buffer)",
"Skipping %u byte message (%zd buffer)",
conn->len_frame_total,
conn->ctx->capture_highwater);
conn->bytes_skip = conn->len_frame_total;
Expand Down

0 comments on commit cdbebf0

Please sign in to comment.