librsvg/librsvg-2.44.5-u64_u32.patch

12 lines
514 B
Diff
Raw Normal View History

--- librsvg-2.44.5/rsvg_internals/src/css.rs.orig 2018-10-01 01:13:42.817563903 +0200
+++ librsvg-2.44.5/rsvg_internals/src/css.rs 2018-10-01 01:13:49.387153650 +0200
@@ -99,7 +99,7 @@
(*doc_handler).app_data = &handler_data as *const _ as gpointer;
let buf_ptr = buf.as_ptr() as *mut _;
- let buf_len = buf.len() as u64;
+ let buf_len = buf.len() as u32;
let parser = cr_parser_new_from_buf(buf_ptr, buf_len, CR_UTF_8, false.to_glib());
if parser.is_null() {