Skip to content

Commit

Permalink
Fix flags for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
stinodego committed Jul 3, 2024
1 parent bea69cd commit 9ba9962
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dtype.rs
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ impl<'py> PyArrayDescrMethods<'py> for Bound<'py, PyArrayDescr> {
}

fn flags(&self) -> u64 {
unsafe { PyDataType_FLAGS(self.py(), self.as_dtype_ptr()) }
unsafe { PyDataType_FLAGS(self.py(), self.as_dtype_ptr()) as _ }
}

fn ndim(&self) -> usize {
Expand Down

0 comments on commit 9ba9962

Please sign in to comment.