Cast cached_piece_info::kind to int.

This commit is contained in:
AllSeeingEyeTolledEweSew 2016-11-26 03:39:17 +00:00 committed by Arvid Norberg
parent c5f1c07a87
commit 3abecd2546
1 changed files with 1 additions and 1 deletions

View File

@ -477,7 +477,7 @@ namespace
d["piece"] = i->piece;
d["last_use"] = total_milliseconds(now - i->last_use) / 1000.f;
d["next_to_hash"] = i->next_to_hash;
d["kind"] = i->kind;
d["kind"] = static_cast<int>(i->kind);
pieces.append(d);
}
return pieces;