Stop using int/uint in net_traits.

This commit is contained in:
Ms2ger 2015-04-06 15:57:35 +02:00
parent f22d920b4d
commit b50b21d1da
5 changed files with 17 additions and 13 deletions

View file

@ -23,7 +23,7 @@ pub trait ImageResponder<NodeAddress: Send> {
pub struct LocalImageCache<NodeAddress> {
image_cache_task: ImageCacheTask,
round_number: uint,
round_number: u32,
on_image_available: Option<Box<ImageResponder<NodeAddress>+Send>>,
state_map: HashMap<Url, ImageState>
}
@ -43,7 +43,7 @@ impl<NodeAddress: Send> LocalImageCache<NodeAddress> {
struct ImageState {
prefetched: bool,
decoded: bool,
last_request_round: uint,
last_request_round: u32,
last_response: ImageResponseMsg
}