diff options
Diffstat (limited to 'intern/SoundSystem/intern/SND_Utils.cpp')
-rw-r--r-- | intern/SoundSystem/intern/SND_Utils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/SoundSystem/intern/SND_Utils.cpp b/intern/SoundSystem/intern/SND_Utils.cpp index 26ce106a24e..a9239576c96 100644 --- a/intern/SoundSystem/intern/SND_Utils.cpp +++ b/intern/SoundSystem/intern/SND_Utils.cpp @@ -290,7 +290,7 @@ unsigned int SND_GetBitRate(void* sample) /* gets the length of the actual sample data (without the header) */ -unsigned int SND_GetNumberOfSamples(void* sample, int sample_length) +unsigned int SND_GetNumberOfSamples(void* sample, unsigned int sample_length) { unsigned int chunklength, length = 0, offset; unsigned short block_align; @@ -330,7 +330,7 @@ unsigned int SND_GetNumberOfSamples(void* sample, int sample_length) /* gets the size of the entire header (file - sampledata) */ -unsigned int SND_GetHeaderSize(void* sample, int sample_length) +unsigned int SND_GetHeaderSize(void* sample, unsigned int sample_length) { unsigned int chunklength, headersize = 0, offset = 16; unsigned short block_align; |