mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Fix invalid long long format specifier
Per POSIX:
L Specifies that a following a, A, e, E, f, F, g, or G conversion
specifier applies to a long double argument.
L is only intended to be used with long doubles, not long long ints.
the proper way is to use "ll" instead.
Signed-off-by: John Spencer <maillist-alsa@barfooze.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
bb5c49fa41
commit
1d3f7975f9
2 changed files with 4 additions and 4 deletions
|
|
@ -175,7 +175,7 @@ int main(int argc, char** argv)
|
|||
printf("output.status.xruns = %zi\n", snd_rawmidi_status_get_xruns(ostat));
|
||||
|
||||
diff = timediff(end, start);
|
||||
printf("Time diff: %Liusec (%Li bytes/sec)\n", diff, ((long long)opos * 1000000) / diff);
|
||||
printf("Time diff: %lliusec (%lli bytes/sec)\n", diff, ((long long)opos * 1000000) / diff);
|
||||
|
||||
if (verbose) {
|
||||
fprintf(stderr,"Closing\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue