mirror of
https://gitee.com/openharmony/third_party_libsnd
synced 2024-11-23 09:59:54 +00:00
Fix an x86_64 issue of int being passed via stdargs to a size_t.
This commit is contained in:
parent
5c9136b5b9
commit
c3efe4fd96
@ -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
|
||||
|
@ -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 */
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user