src/file_io.c : In windows code, cast LPVOID to 'char*' in printf.

This commit is contained in:
Erik de Castro Lopo 2009-02-16 10:40:22 +11:00
parent 6ab21f7671
commit fd9e41146a
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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) ;
} ;