diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-09-08 05:04:48 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-09-08 05:04:48 +0200 |
commit | e39b4ff653b5ea5651fc04e3a39bbcb8192211bf (patch) | |
tree | 3e1f4a35dcee26c68835568cf9d3407fa097eb8d | |
parent | fce75237d50257fcf791e0b496d917abf819d330 (diff) | |
download | ktorrent-e39b4ff653b5ea5651fc04e3a39bbcb8192211bf.tar.gz ktorrent-e39b4ff653b5ea5651fc04e3a39bbcb8192211bf.zip |
Fix FTBFS due to narrowing conversion.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r-- | libktorrent/torrent/chunkmanager.cpp | 2 |
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: |