summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-07-26 15:54:43 +0100
committerCarl Hetherington <cth@carlh.net>2017-07-26 15:54:43 +0100
commit4202d4f2f41c9de370681b8c44ebb926d8c12f8d (patch)
tree67b5207398bda9d9d1398ee436ee927b53c46244 /src/lib
parent3e230d3785f19bc707fd7ea2b1f55321b93f536f (diff)
Fix warning.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/butler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/butler.cc b/src/lib/butler.cc
index 053d7c3bc..910b5ea48 100644
--- a/src/lib/butler.cc
+++ b/src/lib/butler.cc
@@ -65,7 +65,7 @@ Butler::Butler (weak_ptr<const Film> film, shared_ptr<Player> player, AudioMappi
/* Create some threads to do work on the PlayerVideos we are creating; at present this is used to
multi-thread JPEG2000 decoding.
*/
- for (int i = 0; i < boost::thread::hardware_concurrency(); ++i) {
+ for (size_t i = 0; i < boost::thread::hardware_concurrency(); ++i) {
_prepare_pool.create_thread (bind (&boost::asio::io_service::run, &_prepare_service));
}
}