aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/layout_debug.rs
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2015-02-12 18:58:38 +0100
committerMs2ger <ms2ger@gmail.com>2015-02-12 18:58:38 +0100
commit2b0eb98c1d0889d7966b2341528417cb3f916911 (patch)
tree337f4305f1a2012ac205b065c4908272e6d21a7a /components/layout/layout_debug.rs
parent31f65959818751ab0dadc18acb5a90357067c9a4 (diff)
downloadservo-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.rs4
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;