- Use int instead of short where possible

This commit is contained in:
Christophe Dumez 2007-08-28 16:55:14 +00:00
parent 6ecb45d661
commit 01df4d3c81
3 changed files with 4 additions and 4 deletions

View file

@ -1135,7 +1135,7 @@ void bittorrent::reloadTorrent(const QTorrentHandle &h) {
// Remove torrent
s->remove_torrent(h.get_torrent_handle());
// Add torrent again to session
unsigned short timeout = 0;
unsigned int timeout = 0;
while(h.is_valid() && timeout < 6) {
SleeperThread::msleep(1000);
++timeout;