Merge pull request #68 from lifning/master
fix build on platforms where std::os::raw::c_char is not i8
This commit is contained in:
commit
e5898d5cd1
@ -201,8 +201,7 @@ fn index(error: &Error) -> usize {
|
||||
}
|
||||
|
||||
// XXX: the length has to be synced with the number of errors
|
||||
static mut STRINGS: [[c_char; AV_ERROR_MAX_STRING_SIZE]; 27] =
|
||||
[[0_i8; AV_ERROR_MAX_STRING_SIZE]; 27];
|
||||
static mut STRINGS: [[c_char; AV_ERROR_MAX_STRING_SIZE]; 27] = [[0; AV_ERROR_MAX_STRING_SIZE]; 27];
|
||||
|
||||
pub fn register_all() {
|
||||
unsafe {
|
||||
|
Loading…
x
Reference in New Issue
Block a user