Commit f006f1af authored by Guido Gunther's avatar Guido Gunther

Use printf format specifiers matching the type

parent e1366296
......@@ -156,7 +156,7 @@ haeg_sample_buffer_read (HaegSampleBuffer *self,
const gsize copy_len = partial_only ? buf_len : partial_len;
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);
memcpy (buf, self->partial->data, copy_len);
......
......@@ -182,7 +182,7 @@ transfer_mic (struct haegtesse_data *data)
{
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);
// Update buffer
......
Markdown is supported
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