diff --git a/src/zm_local_camera.cpp b/src/zm_local_camera.cpp index 4d3a74952..16db61806 100644 --- a/src/zm_local_camera.cpp +++ b/src/zm_local_camera.cpp @@ -1131,17 +1131,17 @@ bool LocalCamera::GetCurrentSettings( " Name: %s\n" " Type: %s\n" " Audioset: %08x\n" - " Standards: 0x%llx\n" + " Standards: 0x%" PRIx64"\n" , input.index , input.name , input.type==V4L2_INPUT_TYPE_TUNER?"Tuner":(input.type==V4L2_INPUT_TYPE_CAMERA?"Camera":"Unknown") , input.audioset - , input.std ); + , static_cast(input.std)); } 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.type==V4L2_INPUT_TYPE_TUNER?"Tuner":(input.type==V4L2_INPUT_TYPE_CAMERA?"Camera":"Unknown") - , input.index, input.std); + , input.index, static_cast(input.std)); } if ( verbose ) {