about summary refs log tree commit diff
path: root/src/liburl
diff options
context:
space:
mode:
Diffstat (limited to 'src/liburl')
-rw-r--r--src/liburl/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liburl/lib.rs b/src/liburl/lib.rs
index 93072095f9d..a60cc8e992b 100644
--- a/src/liburl/lib.rs
+++ b/src/liburl/lib.rs
@@ -546,7 +546,7 @@ fn get_authority(rawurl: &str) ->
     let mut host = "".to_string();
     let mut port = None;
 
-    let mut colon_count = 0;
+    let mut colon_count = 0u;
     let mut pos = 0;
     let mut begin = 2;
     let mut end = len;