Commit f006f1af authored by Guido Gunther's avatar Guido Gunther
Browse files

Use printf format specifiers matching the type

parent e1366296
Pipeline #1576 passed with stage
in 54 seconds
...@@ -156,7 +156,7 @@ haeg_sample_buffer_read (HaegSampleBuffer *self, ...@@ -156,7 +156,7 @@ haeg_sample_buffer_read (HaegSampleBuffer *self,
const gsize copy_len = partial_only ? buf_len : partial_len; const gsize copy_len = partial_only ? buf_len : partial_len;
g_debug ("Using %" G_GSIZE_FORMAT g_debug ("Using %" G_GSIZE_FORMAT
" bytes out of partial sample of length %" G_GSIZE_FORMAT, " bytes out of partial sample of length %u",
copy_len, partial_len); copy_len, partial_len);
memcpy (buf, self->partial->data, copy_len); memcpy (buf, self->partial->data, copy_len);
......
...@@ -182,7 +182,7 @@ transfer_mic (struct haegtesse_data *data) ...@@ -182,7 +182,7 @@ transfer_mic (struct haegtesse_data *data)
{ {
return TRUE; return TRUE;
} }
g_debug ("Wrote %i bytes (of %u) to TTY port from mic buffer", g_debug ("Wrote %" G_GSIZE_FORMAT" bytes (of %zi) to TTY port from mic buffer",
written, write_len); written, write_len);
// Update buffer // Update buffer
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment