forked from mirrors/gstreamer-rs
Use u32 instead of i32 for Element::message_full() line numbers
This commit is contained in:
parent
c06c12dc87
commit
5494e5b827
1 changed files with 6 additions and 6 deletions
|
@ -96,7 +96,7 @@ pub trait ElementExtManual {
|
|||
debug: Option<&str>,
|
||||
file: &str,
|
||||
function: &str,
|
||||
line: i32,
|
||||
line: u32,
|
||||
);
|
||||
#[cfg(feature = "v1_10")]
|
||||
fn message_full_with_details<T: ::MessageErrorDomain>(
|
||||
|
@ -107,7 +107,7 @@ pub trait ElementExtManual {
|
|||
debug: Option<&str>,
|
||||
file: &str,
|
||||
function: &str,
|
||||
line: i32,
|
||||
line: u32,
|
||||
structure: ::Structure,
|
||||
);
|
||||
|
||||
|
@ -225,7 +225,7 @@ impl<O: IsA<Element>> ElementExtManual for O {
|
|||
debug: Option<&str>,
|
||||
file: &str,
|
||||
function: &str,
|
||||
line: i32,
|
||||
line: u32,
|
||||
) {
|
||||
unsafe {
|
||||
let type_ = match type_ {
|
||||
|
@ -243,7 +243,7 @@ impl<O: IsA<Element>> ElementExtManual for O {
|
|||
debug.to_glib_full(),
|
||||
file.to_glib_none().0,
|
||||
function.to_glib_none().0,
|
||||
line,
|
||||
line as i32,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@ -257,7 +257,7 @@ impl<O: IsA<Element>> ElementExtManual for O {
|
|||
debug: Option<&str>,
|
||||
file: &str,
|
||||
function: &str,
|
||||
line: i32,
|
||||
line: u32,
|
||||
structure: ::Structure,
|
||||
) {
|
||||
unsafe {
|
||||
|
@ -276,7 +276,7 @@ impl<O: IsA<Element>> ElementExtManual for O {
|
|||
debug.to_glib_full(),
|
||||
file.to_glib_none().0,
|
||||
function.to_glib_none().0,
|
||||
line,
|
||||
line as i32,
|
||||
structure.into_ptr(),
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue