w00t-labs / libtorrent

Automatically exported from code.google.com/p/libtorrent
Other
0 stars 0 forks source link

Integer type discrepancy between functions with the same semantics #756

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I observed something while reading code.

add_torrent_params::file_priorities is a vector of type boost::uint8_t

While torrent_handle::prioritize_files() takes a vector of type int.
Similarly for:
torrent_handle::file_priority() (both of them)
torrent_handle::file_priorities()

I know that this can only be addressed in trunk and I thought I should point 
out the discrepancy.

Original issue reported on code.google.com by hammered...@gmail.com on 9 Jun 2015 at 8:48