summaryrefslogtreecommitdiff
path: root/core/src/fpdfapi/fpdf_render
diff options
context:
space:
mode:
authorChris Palmer <palmer@google.com>2014-07-31 12:08:56 -0700
committerChris Palmer <palmer@google.com>2014-07-31 12:08:56 -0700
commit515c26bfb762aa0c9fcc9d2443e6ec9e0dc93f9f (patch)
tree6ab229c57d6d9fe961a5cb3b94e26b4bfbac395f /core/src/fpdfapi/fpdf_render
parent09363c82b5f309631eed3801b3c1cb4195763dd4 (diff)
downloadpdfium-515c26bfb762aa0c9fcc9d2443e6ec9e0dc93f9f.tar.xz
Correct the names of the FX_SAFE_* typedefs.
R=jun_fang@foxitsoftware.com Review URL: https://codereview.chromium.org/417263008
Diffstat (limited to 'core/src/fpdfapi/fpdf_render')
-rw-r--r--core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp b/core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp
index 5279ab9ebb..7e80f75269 100644
--- a/core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp
+++ b/core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp
@@ -1204,7 +1204,7 @@ void CPDF_DIBSource::DownSampleScanline(int line, FX_LPBYTE dest_scan, int dest_
return;
}
- FX_SAFE_INT max_src_x = clip_left;
+ FX_SAFE_INT32 max_src_x = clip_left;
max_src_x += clip_width - 1;
max_src_x *= src_width;
max_src_x /= dest_width;