diff options
author | Ms2ger <ms2ger@gmail.com> | 2015-02-12 18:58:38 +0100 |
---|---|---|
committer | Ms2ger <ms2ger@gmail.com> | 2015-02-12 18:58:38 +0100 |
commit | 2b0eb98c1d0889d7966b2341528417cb3f916911 (patch) | |
tree | 337f4305f1a2012ac205b065c4908272e6d21a7a /components/layout/layout_debug.rs | |
parent | 31f65959818751ab0dadc18acb5a90357067c9a4 (diff) | |
download | servo-2b0eb98c1d0889d7966b2341528417cb3f916911.tar.gz servo-2b0eb98c1d0889d7966b2341528417cb3f916911.zip |
Fix some warnings in layout.
Diffstat (limited to 'components/layout/layout_debug.rs')
-rw-r--r-- | components/layout/layout_debug.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/layout/layout_debug.rs b/components/layout/layout_debug.rs index c9f22460de7..9ecb6a00ea2 100644 --- a/components/layout/layout_debug.rs +++ b/components/layout/layout_debug.rs @@ -14,11 +14,11 @@ use serialize::json; use std::borrow::ToOwned; use std::cell::RefCell; use std::old_io::File; -use std::sync::atomic::{AtomicUint, Ordering, ATOMIC_UINT_INIT}; +use std::sync::atomic::{AtomicUsize, Ordering, ATOMIC_USIZE_INIT}; thread_local!(static STATE_KEY: RefCell<Option<State>> = RefCell::new(None)); -static mut DEBUG_ID_COUNTER: AtomicUint = ATOMIC_UINT_INIT; +static mut DEBUG_ID_COUNTER: AtomicUsize = ATOMIC_USIZE_INIT; pub struct Scope; |