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/apps/mplayerc/jpeg.h | |
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/apps/mplayerc/jpeg.h')
-rw-r--r-- | src/apps/mplayerc/jpeg.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/apps/mplayerc/jpeg.h b/src/apps/mplayerc/jpeg.h index 45bf7a8ea..4f2e4c8f4 100644 --- a/src/apps/mplayerc/jpeg.h +++ b/src/apps/mplayerc/jpeg.h @@ -44,7 +44,7 @@ class CJpegEncoder protected:
virtual bool PutByte(BYTE b) = 0;
- virtual bool PutBytes(const void* pData, int len) = 0;
+ virtual bool PutBytes(const void* pData, size_t len) = 0;
virtual bool Encode(const BYTE* dib);
public:
@@ -58,7 +58,7 @@ class CJpegEncoderFile : public CJpegEncoder protected:
bool PutByte(BYTE b);
- bool PutBytes(const void* pData, int len);
+ bool PutBytes(const void* pData, size_t len);
public:
CJpegEncoderFile(LPCTSTR fn);
@@ -72,7 +72,7 @@ class CJpegEncoderMem : public CJpegEncoder protected:
bool PutByte(BYTE b);
- bool PutBytes(const void* pData, int len);
+ bool PutBytes(const void* pData, size_t len);
public:
CJpegEncoderMem();
|