From 25d0429b365f1248f7ba5019b6feee9f105721fe Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Thu, 3 Apr 2014 19:44:34 +0000 Subject: [PATCH] Squashed some compiler warnings. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3978 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- Detector.cpp | 1 + lib/init_rs.c | 2 +- lib/moondop.f90 | 3 +-- lib/tm2.f90 | 2 +- signalmeter.h | 3 --- soundout.cpp | 3 +-- soundout.h | 1 - 7 files changed, 5 insertions(+), 10 deletions(-) diff --git a/Detector.cpp b/Detector.cpp index 5125775db..37370929c 100644 --- a/Detector.cpp +++ b/Detector.cpp @@ -24,6 +24,7 @@ Detector::Detector (unsigned frameRate, unsigned periodLengthInSeconds, new short [framesPerSignal * downSampleFactor] : 0) , m_bufferPos (0) { + (void)m_frameRate; // quell compiler warning clear (); } diff --git a/lib/init_rs.c b/lib/init_rs.c index eb2711949..b836c1c53 100644 --- a/lib/init_rs.c +++ b/lib/init_rs.c @@ -38,7 +38,7 @@ void *INIT_RS(int symsize,int gfpoly,int fcr,int prim, int i, j, sr,root,iprim; /* Check parameter ranges */ - if(symsize < 0 || symsize > 8*sizeof(DTYPE)) + if(symsize < 0 || symsize > (int)(8*sizeof(DTYPE))) return NULL; /* Need version with ints rather than chars */ if(fcr < 0 || fcr >= (1< m_stream; - QIODevice * m_source; bool volatile m_active; QAudioDeviceInfo m_currentDevice; qreal m_volume;