A tool to sync music with your favorite devices
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

gpod: use platform-agnostic c_char instead of ingegers

geesawra 0458d990 25a63d3f

+1 -1
+1 -1
src/gpod/gpod.rs
··· 307 307 } 308 308 309 309 /// string returns the string at raw, or an empty string if null. 310 - fn string(raw: *mut u8) -> String { 310 + fn string(raw: *mut std::ffi::c_char) -> String { 311 311 unsafe { 312 312 if raw.is_null() { 313 313 String::new()