Skip to content

Commit

Permalink
Fixed 32-bit OS support
Browse files Browse the repository at this point in the history
  • Loading branch information
katyo committed Apr 28, 2021
1 parent 87e07f0 commit 03f9d59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/buffer_object.rs
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ impl<T: 'static> BufferObject<T> {
let device = self._device.upgrade();
if device.is_some() {
let result = unsafe {
::ffi::gbm_bo_write(*self.ffi, buffer.as_ptr() as *const _, buffer.len() as u64)
::ffi::gbm_bo_write(*self.ffi, buffer.as_ptr() as *const _, buffer.len() as _)
};
if result != 0 {
Ok(Err(IoError::last_os_error()))
Expand Down

0 comments on commit 03f9d59

Please sign in to comment.