summaryrefslogtreecommitdiff
path: root/core/fxge/dib/cfx_imagetransformer.cpp
diff options
context:
space:
mode:
authorAndrew Weintraub <asweintraub@google.com>2017-12-08 22:49:56 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-12-08 22:49:56 +0000
commitd822ecbd8e07735907f125b460120ff50a7ff2fb (patch)
treee801774cc21c9c0b4fd7ef26e2ff1151c9a1204d /core/fxge/dib/cfx_imagetransformer.cpp
parentf8f22c7ac7f3d4b922f40f67e910114e55b187b0 (diff)
downloadpdfium-d822ecbd8e07735907f125b460120ff50a7ff2fb.tar.xz
Fix an LLVM error caused by assigning a uint32_t to an int without a cast
Bug: Change-Id: I394fb3c6df95d5170302731fd33ef523a38f070c Reviewed-on: https://pdfium-review.googlesource.com/20630 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fxge/dib/cfx_imagetransformer.cpp')
-rw-r--r--core/fxge/dib/cfx_imagetransformer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxge/dib/cfx_imagetransformer.cpp b/core/fxge/dib/cfx_imagetransformer.cpp
index 565d38b2e2..8e01127b00 100644
--- a/core/fxge/dib/cfx_imagetransformer.cpp
+++ b/core/fxge/dib/cfx_imagetransformer.cpp
@@ -45,7 +45,7 @@ uint8_t bilinear_interpol(const uint8_t* buf,
}
uint8_t bicubic_interpol(const uint8_t* buf,
- int pitch,
+ uint32_t pitch,
const int pos_pixel[],
const int u_w[],
const int v_w[],