summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libktorrent/torrent/chunkmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libktorrent/torrent/chunkmanager.cpp b/libktorrent/torrent/chunkmanager.cpp
index 1fa4607..67359ba 100644
--- a/libktorrent/torrent/chunkmanager.cpp
+++ b/libktorrent/torrent/chunkmanager.cpp
@@ -782,7 +782,7 @@ namespace bt
if (!tf.isNull())
{
// numbers are to be compatible with old chunk info files
- switch(buf[i+1])
+ switch((Int32)buf[i+1])
{
case FIRST_PRIORITY:
case 3: