LocalCamera: Fix Wformat warnings on FreeBSD
This commit is contained in:
parent
443b84270a
commit
0ac060fb78
|
@ -1131,17 +1131,17 @@ bool LocalCamera::GetCurrentSettings(
|
||||||
" Name: %s\n"
|
" Name: %s\n"
|
||||||
" Type: %s\n"
|
" Type: %s\n"
|
||||||
" Audioset: %08x\n"
|
" Audioset: %08x\n"
|
||||||
" Standards: 0x%llx\n"
|
" Standards: 0x%" PRIx64"\n"
|
||||||
, input.index
|
, input.index
|
||||||
, input.name
|
, input.name
|
||||||
, input.type==V4L2_INPUT_TYPE_TUNER?"Tuner":(input.type==V4L2_INPUT_TYPE_CAMERA?"Camera":"Unknown")
|
, input.type==V4L2_INPUT_TYPE_TUNER?"Tuner":(input.type==V4L2_INPUT_TYPE_CAMERA?"Camera":"Unknown")
|
||||||
, input.audioset
|
, input.audioset
|
||||||
, input.std );
|
, static_cast<uint64>(input.std));
|
||||||
} else {
|
} else {
|
||||||
output_ptr += sprintf( output_ptr, "i%d:%s|i%dT:%s|i%dS:%llx|"
|
output_ptr += sprintf( output_ptr, "i%d:%s|i%dT:%s|i%dS:%" PRIx64 "|"
|
||||||
, input.index, input.name
|
, input.index, input.name
|
||||||
, input.index, input.type==V4L2_INPUT_TYPE_TUNER?"Tuner":(input.type==V4L2_INPUT_TYPE_CAMERA?"Camera":"Unknown")
|
, input.index, input.type==V4L2_INPUT_TYPE_TUNER?"Tuner":(input.type==V4L2_INPUT_TYPE_CAMERA?"Camera":"Unknown")
|
||||||
, input.index, input.std);
|
, input.index, static_cast<uint64>(input.std));
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( verbose ) {
|
if ( verbose ) {
|
||||||
|
|
Loading…
Reference in New Issue