From 4e20094dbb2ea942734b8986fa9a60d2f3ccbb1b Mon Sep 17 00:00:00 2001 From: dsinclair Date: Wed, 6 Apr 2016 12:06:35 -0700 Subject: Rename FX_SAFE_DWORD to FX_SAFE_UINT32 We removed the FX_DWORD typedef in favour of uint32_t. This CL cleans up the FX_SAFE_DWORD naming to match. BUG=pdfium:81, pdfium:470 Review URL: https://codereview.chromium.org/1861403002 --- core/fxcodec/codec/fx_codec.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/fxcodec/codec/fx_codec.cpp') diff --git a/core/fxcodec/codec/fx_codec.cpp b/core/fxcodec/codec/fx_codec.cpp index 79e5da27c8..ef9414dbe5 100644 --- a/core/fxcodec/codec/fx_codec.cpp +++ b/core/fxcodec/codec/fx_codec.cpp @@ -294,7 +294,7 @@ FX_BOOL CCodec_RLScanlineDecoder::Create(const uint8_t* src_buf, m_nComps = nComps; m_bpc = bpc; // Aligning the pitch to 4 bytes requires an integer overflow check. - FX_SAFE_DWORD pitch = width; + FX_SAFE_UINT32 pitch = width; pitch *= nComps; pitch *= bpc; pitch += 31; -- cgit v1.2.3