File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,12 +51,12 @@ unsafe extern "C" fn aop_read_raw<T: MessageProcessor + 'static>(
5151 chan : * const bindings:: iio_chan_spec ,
5252 val : * mut i32 ,
5353 _: * mut i32 ,
54- mask : i64 ,
54+ mask : isize ,
5555) -> i32 {
5656 let data = unsafe { Arc :: < AopSensorData < T > > :: borrow ( ( * dev) . priv_ ) } ;
5757 let ty = unsafe { ( * chan) . type_ } ;
58- if mask != bindings:: BINDINGS_IIO_CHAN_INFO_PROCESSED as i64
59- && mask != bindings:: BINDINGS_IIO_CHAN_INFO_RAW as i64
58+ if mask != bindings:: BINDINGS_IIO_CHAN_INFO_PROCESSED as isize
59+ && mask != bindings:: BINDINGS_IIO_CHAN_INFO_RAW as isize
6060 {
6161 return EINVAL . to_errno ( ) ;
6262 }
@@ -88,7 +88,7 @@ impl<T: MessageProcessor + 'static> IIORegistration<T> {
8888 data : Arc < AopSensorData < T > > ,
8989 name : & ' static CStr ,
9090 ty : u32 ,
91- info_mask : i64 ,
91+ info_mask : isize ,
9292 module : & ThisModule ,
9393 ) -> Result < Self > {
9494 let spec = KBox :: pin (
You can’t perform that action at this time.
0 commit comments