diff options
author | Slávek Banko <[email protected]> | 2020-09-08 05:04:48 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-09-08 05:04:55 +0200 |
commit | 0c67d45324dc2aa9a38dae1a1c008f160369363f (patch) | |
tree | be7ed142f28f66cc621b87a34377edf10b4e639d | |
parent | e4f129f5ba17abe6626e3e51c6bbadb9b16bdfe8 (diff) | |
download | ktorrent-0c67d45324dc2aa9a38dae1a1c008f160369363f.tar.gz ktorrent-0c67d45324dc2aa9a38dae1a1c008f160369363f.zip |
Fix FTBFS due to narrowing conversion.
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit e39b4ff653b5ea5651fc04e3a39bbcb8192211bf)
-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: |