aboutsummaryrefslogtreecommitdiffstats
path: root/components/util/debug_utils.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/util/debug_utils.rs')
-rw-r--r--components/util/debug_utils.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/util/debug_utils.rs b/components/util/debug_utils.rs
index 8d9789de029..f7c02b8068b 100644
--- a/components/util/debug_utils.rs
+++ b/components/util/debug_utils.rs
@@ -12,7 +12,7 @@ fn hexdump_slice(buf: &[u8]) {
let mut stderr = io::stderr();
stderr.write_all(b" ").unwrap();
for (i, &v) in buf.iter().enumerate() {
- let output = format!("{:02X} ", v as uint);
+ let output = format!("{:02X} ", v);
stderr.write_all(output.as_bytes()).unwrap();
match i % 16 {
15 => { stderr.write_all(b"\n ").unwrap(); },