From 37b5e78a2cf0526ef658dbd60ccb653306422f54 Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Thu, 2 Apr 2015 14:56:05 +0200 Subject: [PATCH] Avoid a cast in LayoutImageResponder. --- components/layout/layout_task.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/layout/layout_task.rs b/components/layout/layout_task.rs index 0f29cc91902..3683ec1a1aa 100644 --- a/components/layout/layout_task.rs +++ b/components/layout/layout_task.rs @@ -192,7 +192,7 @@ impl ImageResponder for LayoutImageResponder { let script_chan = self.script_chan.clone(); box move |_, node_address| { let ScriptControlChan(ref chan) = script_chan; - debug!("Dirtying {:x}", node_address.0 as usize); + debug!("Dirtying {:p}", node_address.0); let mut nodes = SmallVec1::new(); nodes.vec_push(node_address); drop(chan.send(ConstellationControlMsg::SendEvent(