summaryrefslogtreecommitdiff
path: root/src/test/testmain.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-08 22:48:11 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-08 22:48:11 +0300
commit767b8400fb086616616a298655f0bc2eaf239256 (patch)
tree9d82215887c79c596127506f50daf2ed31c23d8c /src/test/testmain.cpp
parentcd0de3bd2668294ab3174d3b5f032fefc25fa0e8 (diff)
downloadplus-767b8400fb086616616a298655f0bc2eaf239256.tar.gz
plus-767b8400fb086616616a298655f0bc2eaf239256.tar.bz2
plus-767b8400fb086616616a298655f0bc2eaf239256.tar.xz
plus-767b8400fb086616616a298655f0bc2eaf239256.zip
Fix code style in other files.
Diffstat (limited to 'src/test/testmain.cpp')
-rw-r--r--src/test/testmain.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/testmain.cpp b/src/test/testmain.cpp
index cae4aa3b7..53703dbc6 100644
--- a/src/test/testmain.cpp
+++ b/src/test/testmain.cpp
@@ -96,7 +96,7 @@ int TestMain::exec(const bool testAudio)
if (testAudio)
soundTest = invokeTest4();
else
- soundTest = true;
+ soundTest = 1;
info.append(strprintf("%d.%d,%d,%d.", soundTest, softwareTest,
fastOpenGLTest, safeOpenGLTest));
@@ -204,7 +204,7 @@ int TestMain::exec(const bool testAudio)
if (!(detectMode & 15))
openGLMode = RENDER_SOFTWARE;
- writeConfig(openGLMode, rescaleTest[openGLMode],
+ writeConfig(openGLMode, rescaleTest[static_cast<size_t>(openGLMode)],
soundTest, info, batchSize, detectMode);
return 0;
}