Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guido Gunther
haegtesse
Commits
f006f1af
Commit
f006f1af
authored
Oct 17, 2018
by
Guido Gunther
Browse files
Use printf format specifiers matching the type
parent
e1366296
Pipeline
#1576
passed with stage
in 54 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
src/haeg-sample-buffer.c
View file @
f006f1af
...
...
@@ -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
);
...
...
src/main.c
View file @
f006f1af
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment