diff options
author | Ms2ger <ms2ger@gmail.com> | 2015-02-20 14:43:29 +0100 |
---|---|---|
committer | Ms2ger <ms2ger@gmail.com> | 2015-02-20 14:45:47 +0100 |
commit | 6d30ec77c89d157819a7c8e99d34b6aabf5bc5c6 (patch) | |
tree | 4c8fa052611da7fa05f107fb206d79aa17be1ecb /components/script/dom/domparser.rs | |
parent | 9c863a6bd42e1cbcdf2c54299145d266534f25c0 (diff) | |
download | servo-6d30ec77c89d157819a7c8e99d34b6aabf5bc5c6.tar.gz servo-6d30ec77c89d157819a7c8e99d34b6aabf5bc5c6.zip |
Replace uint/int by usize/isize in various places.
Diffstat (limited to 'components/script/dom/domparser.rs')
-rw-r--r-- | components/script/dom/domparser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/domparser.rs b/components/script/dom/domparser.rs index 5fe79f5156c..c33b151d9cf 100644 --- a/components/script/dom/domparser.rs +++ b/components/script/dom/domparser.rs @@ -51,7 +51,7 @@ impl<'a> DOMParserMethods for JSRef<'a, DOMParser> { -> Fallible<Temporary<Document>> { let window = self.window.root(); let url = window.r().get_url(); - let content_type = DOMParserBinding::SupportedTypeValues::strings[ty as uint].to_owned(); + let content_type = DOMParserBinding::SupportedTypeValues::strings[ty as usize].to_owned(); match ty { Text_html => { let document = Document::new(window.r(), Some(url.clone()), |