diff options
author | kinddragon <kinddragon@users.sourceforge.net> | 2010-05-16 23:28:57 +0400 |
---|---|---|
committer | kinddragon <kinddragon@users.sourceforge.net> | 2010-05-16 23:28:57 +0400 |
commit | e9e09d64fbc9c884e7e00f22bfa9de18b8748bb9 (patch) | |
tree | 1a147ec652bb6baef603d72fc6bb9129c416b38b /src/filters/muxer | |
parent | 3a990e7f323a3f68c286ad8b3395c681368ff46b (diff) |
Some warnings fixed (uninitialized local variable, unused local variable, comparison signed/unsigned type, assignment in if)
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1886 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/filters/muxer')
-rw-r--r-- | src/filters/muxer/BaseMuxer/BitStream.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/filters/muxer/BaseMuxer/BitStream.cpp b/src/filters/muxer/BaseMuxer/BitStream.cpp index 3481740fa..abb18055f 100644 --- a/src/filters/muxer/BaseMuxer/BitStream.cpp +++ b/src/filters/muxer/BaseMuxer/BitStream.cpp @@ -75,9 +75,9 @@ STDMETHODIMP_(UINT64) CBitStream::Seek(UINT64 pos) LARGE_INTEGER li;
li.QuadPart = pos;
ULARGE_INTEGER linew;
- linew.QuadPart = -1;
+ linew.QuadPart = (ULONGLONG)-1;
m_pStream->Seek(li, STREAM_SEEK_SET, &linew);
- ASSERT(li.QuadPart == linew.QuadPart);
+ ASSERT(li.QuadPart == (LONGLONG)linew.QuadPart);
return linew.QuadPart;
}
|