diff --git a/crates/cust/src/device.rs b/crates/cust/src/device.rs index e876fb5..54182cc 100644 --- a/crates/cust/src/device.rs +++ b/crates/cust/src/device.rs @@ -342,7 +342,7 @@ impl Device { /// # } /// ``` pub fn uuid(self) -> CudaResult<[u8; 16]> { - let mut cu_uuid = CUuuid { bytes: [0i8; 16] }; + let mut cu_uuid = CUuuid { bytes: [0; 16] }; unsafe { cuDeviceGetUuid(&mut cu_uuid, self.device).to_result()?; }