diff options
author | Tzafrir Cohen <tzafrir@cohens.org.il> | 2009-09-22 19:13:47 +0300 |
---|---|---|
committer | Tzafrir Cohen <tzafrir@cohens.org.il> | 2009-10-04 10:48:40 +0200 |
commit | f58902fc024913a1334081ed87ab7b866fb55380 (patch) | |
tree | 06cf3982345bb4dd672fb2eda7070826f45a1c2c /orkaudio/filters | |
parent | 30d52bc6e985b84be8543219dcef0cf1a9a5f426 (diff) |
fixed build warnings in orkaudio
Diffstat (limited to 'orkaudio/filters')
-rw-r--r-- | orkaudio/filters/rtpmixer/RtpMixer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/orkaudio/filters/rtpmixer/RtpMixer.cpp b/orkaudio/filters/rtpmixer/RtpMixer.cpp index c2ce98b..7601f8f 100644 --- a/orkaudio/filters/rtpmixer/RtpMixer.cpp +++ b/orkaudio/filters/rtpmixer/RtpMixer.cpp @@ -10,7 +10,7 @@ * Please refer to http://www.gnu.org/copyleft/gpl.html * */ -#pragma warning( disable: 4786 ) +//#pragma warning( disable: 4786 ) #define _WINSOCKAPI_ // prevents the inclusion of winsock.h @@ -610,7 +610,7 @@ void RtpMixer::StoreRtpPacket(AudioChunkRef& audioChunk, unsigned int correctedT unsigned int endRtpTimestamp = correctedTimestamp + audioChunk->GetNumSamples(); if (endRtpTimestamp > m_writeTimestamp) { - for(int i=0; i<(endRtpTimestamp - m_writeTimestamp); i++) + for(unsigned int i=0; i<(endRtpTimestamp - m_writeTimestamp); i++) { *m_writePtr = 0; @@ -761,7 +761,7 @@ void RtpMixer::HandleMixedOutput(AudioChunkRef &chunk, AudioChunkDetails& detail chanNo = i+1; chanIdx = i; - for(int j = 0; j < (details.m_numBytes/2); j++) + for(unsigned int j = 0; j < (details.m_numBytes/2); j++) { int sample; int saveIdx = 0; |