Fix an x86_64 issue of int being passed via stdargs to a size_t.

This commit is contained in:
Erik de Castro Lopo 2006-05-03 10:20:06 +00:00
parent 5c9136b5b9
commit c3efe4fd96
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2006-05-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/wav_w64.c
Fix a bug on x86_64 where an int was being passed via stdargs and being
read using size_t which is 64 bits. Thenks to John ffitch for giving me a
login on his box.
2006-05-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/caf.c src/double64.c examples/sndfile-info.c tests/virtual_io_test.c

View File

@ -327,7 +327,7 @@ wavex_write_guid (SF_PRIVATE *psf, const EXT_SUBFORMAT * subformat)
{
psf_binheader_writef (psf, "422b", subformat->esf_field1,
subformat->esf_field2, subformat->esf_field3,
subformat->esf_field4, 8) ;
subformat->esf_field4, make_size_t (8)) ;
} /* wavex_write_guid */