aboutsummaryrefslogtreecommitdiffstats
path: root/components/msg/compositor_msg.rs
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2015-03-27 17:55:20 +0100
committerMs2ger <ms2ger@gmail.com>2015-03-28 15:36:36 +0100
commit37c271a260c895f83c38d322d1f31303ace7b61c (patch)
treeb95130b75a565fc3b9a6e8504b520dfc42057316 /components/msg/compositor_msg.rs
parentac3c076892898ad2cb3e8722d9697957f45b9143 (diff)
downloadservo-37c271a260c895f83c38d322d1f31303ace7b61c.tar.gz
servo-37c271a260c895f83c38d322d1f31303ace7b61c.zip
Use usize and u32 for LayerId.
Diffstat (limited to 'components/msg/compositor_msg.rs')
-rw-r--r--components/msg/compositor_msg.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/msg/compositor_msg.rs b/components/msg/compositor_msg.rs
index c51a0df6a0c..d306af649a9 100644
--- a/components/msg/compositor_msg.rs
+++ b/components/msg/compositor_msg.rs
@@ -44,7 +44,7 @@ impl Epoch {
}
#[derive(Clone, PartialEq, Eq, Copy)]
-pub struct LayerId(pub uint, pub uint);
+pub struct LayerId(pub usize, pub u32);
impl Debug for LayerId {
fn fmt(&self, f: &mut Formatter) -> fmt::Result {