Fix the win32 build
This commit is contained in:
parent
23de5b5aab
commit
48b7278254
2 changed files with 6 additions and 6 deletions
|
|
@ -209,7 +209,7 @@ fn init() -> Result<Voice, String> {
|
|||
0, 10000000, 0, format, ptr::null());
|
||||
|
||||
if !format_ptr.is_null() {
|
||||
ole32::CoTaskMemFree(format_ptr as *mut libc::c_void);
|
||||
ole32::CoTaskMemFree(format_ptr as *mut _);
|
||||
}
|
||||
|
||||
try!(check_result(hresult));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue