mirror of
https://gitee.com/openharmony/third_party_libsnd
synced 2024-11-23 09:59:54 +00:00
src/file_io.c : In windows code, cast LPVOID to 'char*' in printf.
This commit is contained in:
parent
6ab21f7671
commit
fd9e41146a
@ -1,3 +1,8 @@
|
||||
2009-02-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
||||
|
||||
* src/file_io.c
|
||||
In windows code, cast LPVOID to 'char*' in printf.
|
||||
|
||||
2009-02-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
||||
|
||||
* M4/octave.m4
|
||||
|
@ -806,7 +806,7 @@ psf_log_syserr (SF_PRIVATE *psf, int error)
|
||||
NULL
|
||||
) ;
|
||||
|
||||
snprintf (psf->syserr, sizeof (psf->syserr), "System error : %s", lpMsgBuf) ;
|
||||
snprintf (psf->syserr, sizeof (psf->syserr), "System error : %s", (char*) lpMsgBuf) ;
|
||||
LocalFree (lpMsgBuf) ;
|
||||
} ;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user