aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2018-07-02 19:26:08 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2018-07-02 19:26:08 +0000
commit5d07e21aa082e936e0d2e74ae931c772fe325568 (patch)
tree5fcc0e0aa41fc54770bb90a132a90d842b4eb777
parentd926747985f235f33ad2a7d654beceb688391e83 (diff)
downloadqmmp-5d07e21aa082e936e0d2e74ae931c772fe325568.tar.gz
qmmp-5d07e21aa082e936e0d2e74ae931c772fe325568.tar.bz2
qmmp-5d07e21aa082e936e0d2e74ae931c772fe325568.zip
fixed gcc warnings
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8092 90c681e8-e032-0410-971d-27865f9a5e38
-rw-r--r--src/plugins/Output/waveout/outputwaveout.cpp4
-rw-r--r--src/plugins/Ui/skinned/skin.cpp6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/Output/waveout/outputwaveout.cpp b/src/plugins/Output/waveout/outputwaveout.cpp
index 31e1f38a1..4219649aa 100644
--- a/src/plugins/Output/waveout/outputwaveout.cpp
+++ b/src/plugins/Output/waveout/outputwaveout.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2009-2017 by Ilya Kotov *
+ * Copyright (C) 2009-2018 by Ilya Kotov *
* forkotov02@ya.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -236,7 +236,7 @@ void OutputWaveOut::uninitialize()
if (dev)
{
waveOutReset(dev); // reset the device
- while (ScheduledBlocks > 0);
+ while (ScheduledBlocks > 0)
Sleep (10);
while (PlayedWaveHeadersCount > 0) // free used blocks ...
diff --git a/src/plugins/Ui/skinned/skin.cpp b/src/plugins/Ui/skinned/skin.cpp
index 2dd078037..fa38278fe 100644
--- a/src/plugins/Ui/skinned/skin.cpp
+++ b/src/plugins/Ui/skinned/skin.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2007-2017 by Ilya Kotov *
+ * Copyright (C) 2007-2018 by Ilya Kotov *
* forkotov02@ya.ru *
* *
* Based on Promoe, an XMMS2 Client *
@@ -630,10 +630,10 @@ void Skin::loadLetters(void)
{
QPixmap *img = getPixmap("text");
- QList<QList<QPixmap> > (letters);
+ QList<QList<QPixmap> > letters;
for (int i = 0; i < 3; i++)
{
- QList<QPixmap> (l);
+ QList<QPixmap> l;
for (int j = 0; j < 31; j++)
{
l.append (img->copy (j*5, i*6, 5, 6));