Skip to content

Commit f539e54

Browse files
authored
Merge pull request #2 from petevine/patch-1
Fix compilation on ARM
2 parents 35de2f5 + e8b451c commit f539e54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ macro_rules! get_str_field {
328328
if ping_iterator_get_info($iter, $field, ptr, &mut size as *mut usize) != 0 {
329329
return None;
330330
}
331-
CStr::from_ptr(ptr as *const i8).to_str().unwrap().to_string()
331+
CStr::from_ptr(ptr as *const _).to_str().unwrap().to_string()
332332
}
333333
)
334334
}

0 commit comments

Comments
 (0)