Open jerry73204 opened 2 years ago
This patch fixes the compile error in issue #65. The compile error was caused by this line.
let mut cu_uuid = CUuuid { bytes: [0i8; 16] };
The CUuuid accepts an [c_char; 16] array, where the type alias c_char depends on architecture. The PR replaces it with bytes: [0usize as c_char; 16].
CUuuid
[c_char; 16]
c_char
bytes: [0usize as c_char; 16]
This patch fixes the compile error in issue #65. The compile error was caused by this line.
The
CUuuid
accepts an[c_char; 16]
array, where the type aliasc_char
depends on architecture. The PR replaces it withbytes: [0usize as c_char; 16]
.