changeset 18117:0b13bab3f237

Use ULL for > 32 bits constant.
author reimar
date Sun, 16 Apr 2006 13:45:21 +0000
parents d75953576ae4
children f9a939c204ad
files libmpdemux/demux_audio.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_audio.c	Sun Apr 16 13:38:28 2006 +0000
+++ b/libmpdemux/demux_audio.c	Sun Apr 16 13:45:21 2006 +0000
@@ -512,7 +512,7 @@
 	      stream_read(s, (char *)&srate, 3);
 	      srate = be2me_32(srate) >> 12;
 	      stream_read(s, (char *)&num_samples, 5);
-	      num_samples = (be2me_64(num_samples) >> 24) & 0xfffffffff;
+	      num_samples = (be2me_64(num_samples) >> 24) & 0xfffffffffULL;
 	      if (num_samples && srate)
 	        sh_audio->i_bps = size * srate / num_samples;
 	    }