From d2fd133f64f089816335de10eecf63fe9b67a10e Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Mon, 26 Oct 2009 00:23:21 +0100 Subject: [PATCH] Cpu: use qDebug() rather than fprintf() Using old C functions is really deprecated. Therefore use qDebug() instead of fprintf(). --- src/core/Cpu.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/Cpu.cpp b/src/core/Cpu.cpp index 7e72e5a8f..726ffae32 100644 --- a/src/core/Cpu.cpp +++ b/src/core/Cpu.cpp @@ -22,11 +22,11 @@ * */ +#include #include "Cpu.h" #include -#include #include @@ -442,7 +442,7 @@ void init() #endif if( features & SSE ) { - fprintf( stderr, "Using SSE optimized routines\n" ); + qDebug( "Using SSE optimized routines" ); memCpy = memCpySSE; memClear = memClearSSE; bufApplyGain = bufApplyGainSSE; @@ -455,7 +455,7 @@ void init() } if( features & SSE2 ) { - fprintf( stderr, "Using SSE2 optimized routines\n" ); + qDebug( "Using SSE2 optimized routines" ); memCpy = memCpySSE2; memClear = memClearSSE2; convertToS16 = convertToS16SSE2;