removed warning for VS.Net compiler

svn path=/trunk/; revision=5793
This commit is contained in:
Martin Fuchs 2003-08-23 11:51:01 +00:00
parent cb0cc914a1
commit 4fcd44e5eb
2 changed files with 2 additions and 2 deletions

View file

@ -379,7 +379,7 @@ STDMETHODIMP EnumFormatEtcImpl::Next( ULONG celt,LPFORMATETC lpFormatEtc, ULONG
return (cReturn == 0) ? S_OK : S_FALSE; return (cReturn == 0) ? S_OK : S_FALSE;
} }
STDMETHODIMP EnumFormatEtcImpl::Skip(ULONG celt) STDMETHODIMP EnumFormatEtcImpl::Skip(ULONG celt)
{ {
if ((m_iCur + int(celt)) >= m_pFmtEtc.size()) if ((m_iCur + int(celt)) >= m_pFmtEtc.size())

View file

@ -27,7 +27,7 @@ class EnumFormatEtcImpl : public IEnumFORMATETC
private: private:
ULONG m_cRefCount; ULONG m_cRefCount;
FormatArray m_pFmtEtc; FormatArray m_pFmtEtc;
int m_iCur; size_t m_iCur;
public: public:
EnumFormatEtcImpl(const FormatArray& ArrFE); EnumFormatEtcImpl(const FormatArray& ArrFE);