diff options
author | Underground78 <underground78@users.sourceforge.net> | 2012-06-02 12:49:43 +0400 |
---|---|---|
committer | Underground78 <underground78@users.sourceforge.net> | 2012-06-02 12:49:43 +0400 |
commit | e908be0948ccf11bffe9ed78117df5a106c803b0 (patch) | |
tree | 60c166cefda21754481cdb6af4b9d3c2033bb11a /src/DSUtil/DSUtil.h | |
parent | 21e6b93019bf0256be3b1011a3fec4daddf28887 (diff) |
Fix some C4244 warnings and simplify the code a bit.
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@4975 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/DSUtil/DSUtil.h')
-rw-r--r-- | src/DSUtil/DSUtil.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DSUtil/DSUtil.h b/src/DSUtil/DSUtil.h index e89eb0db4..4df6dea7b 100644 --- a/src/DSUtil/DSUtil.h +++ b/src/DSUtil/DSUtil.h @@ -64,7 +64,7 @@ extern CLSID GetCLSID(IPin* pPin); extern bool IsCLSIDRegistered(LPCTSTR clsid);
extern bool IsCLSIDRegistered(const CLSID& clsid);
extern void CStringToBin(CString str, CAtlArray<BYTE>& data);
-extern CString BinToCString(BYTE* ptr, int len);
+extern CString BinToCString(const BYTE* ptr, size_t len);
typedef enum {CDROM_NotFound, CDROM_Audio, CDROM_VideoCD, CDROM_DVDVideo, CDROM_Unknown} cdrom_t;
extern cdrom_t GetCDROMType(TCHAR drive, CAtlList<CString>& files);
extern CString GetDriveLabel(TCHAR drive);
|