summaryrefslogtreecommitdiff
path: root/harmony/libsndfile/varargs-32bit.patch
blob: 81f149adde26c88ab0ca43473a292829479446e2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- libsndfile-1.0.28/src/rf64.c.old	2017-04-02 02:43:22.000000000 -0500
+++ libsndfile-1.0.28/src/rf64.c	2018-03-04 22:35:31.072461118 -0600
@@ -737,7 +737,7 @@
 
 	pad_size = psf->dataoffset - 16 - psf->header.indx ;
 	if (pad_size >= 0)
-		psf_binheader_writef (psf, "m4z", PAD_MARKER, pad_size, make_size_t (pad_size)) ;
+		psf_binheader_writef (psf, "m4z", PAD_MARKER, (unsigned int) pad_size, make_size_t (pad_size)) ;
 
 	if (wpriv->rf64_downgrade && (psf->filelength < RIFF_DOWNGRADE_BYTES))
 		psf_binheader_writef (psf, "tm8", data_MARKER, psf->datalength) ;