diff options
author | Wei Li <weili@chromium.org> | 2016-03-10 12:35:07 -0800 |
---|---|---|
committer | Wei Li <weili@chromium.org> | 2016-03-10 12:35:07 -0800 |
commit | 79fcb5f6fa61967517566100415972848edefd24 (patch) | |
tree | 314016e327303cd3e4e3da06dd1789b79ecbf352 /core/src/fxcodec/codec/codec_int.h | |
parent | 2852ce07c4e5b1053420cbf375e098e09faf679c (diff) | |
download | pdfium-79fcb5f6fa61967517566100415972848edefd24.tar.xz |
Change colorspace's number of components to be unsigned
Also remove unnecessary casts.
BUG=pdfium:29
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1783933002 .
Diffstat (limited to 'core/src/fxcodec/codec/codec_int.h')
-rw-r--r-- | core/src/fxcodec/codec/codec_int.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/fxcodec/codec/codec_int.h b/core/src/fxcodec/codec/codec_int.h index bde3daeaea..5c784adad6 100644 --- a/core/src/fxcodec/codec/codec_int.h +++ b/core/src/fxcodec/codec/codec_int.h @@ -287,13 +287,13 @@ class CCodec_IccModule : public ICodec_IccModule { void* CreateTransform_sRGB( const uint8_t* pProfileData, FX_DWORD dwProfileSize, - int32_t& nComponents, + FX_DWORD& nComponents, int32_t intent = 0, FX_DWORD dwSrcFormat = Icc_FORMAT_DEFAULT) override; void* CreateTransform_CMYK( const uint8_t* pSrcProfileData, FX_DWORD dwSrcProfileSize, - int32_t& nSrcComponents, + FX_DWORD& nSrcComponents, const uint8_t* pDstProfileData, FX_DWORD dwDstProfileSize, int32_t intent = 0, |