From 266cc6fab53ae921fddf1889eb29f849f19044b4 Mon Sep 17 00:00:00 2001 From: James McDonnell Date: Thu, 6 Apr 2017 17:10:35 -0400 Subject: Fix a format string Used wrong class name. Probably a Copy-FailToChange. Get rid of a warning about the conversion specification that didn't match argument type. Change-Id: I4f24b737dd5f72cc1dc61c58de6ad21d9a07c8ed Reviewed-by: Dan Cape Reviewed-by: Christian Stromme --- src/plugins/qnx/mediaplayer/ppsmediaplayercontrol.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/plugins/qnx/mediaplayer/ppsmediaplayercontrol.cpp b/src/plugins/qnx/mediaplayer/ppsmediaplayercontrol.cpp index de5e3e0cf..402461331 100644 --- a/src/plugins/qnx/mediaplayer/ppsmediaplayercontrol.cpp +++ b/src/plugins/qnx/mediaplayer/ppsmediaplayercontrol.cpp @@ -151,7 +151,7 @@ void PpsMediaPlayerControl::ppsReadyRead(int fd) // nread is the real space necessary, not the amount read. if (static_cast(nread) > bufferSize - 1) { //TODO emit error? - qCritical("BBMediaPlayerControl: PPS buffer size too short; need %u.", nread + 1); + qCritical("PpsMediaPlayerControl: PPS buffer size too short; need %zd.", nread + 1); return; } -- cgit v1.2.3