summaryrefslogtreecommitdiff
path: root/core/fxge
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxge')
-rw-r--r--core/fxge/dib/cfx_imagetransformer.cpp2
-rw-r--r--core/fxge/dib/cfx_imagetransformer.h2
2 files changed, 2 insertions, 2 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[],
diff --git a/core/fxge/dib/cfx_imagetransformer.h b/core/fxge/dib/cfx_imagetransformer.h
index bf5e7dcfd4..d13ce3f130 100644
--- a/core/fxge/dib/cfx_imagetransformer.h
+++ b/core/fxge/dib/cfx_imagetransformer.h
@@ -64,7 +64,7 @@ class CFX_ImageTransformer {
const CFX_DIBitmap* bitmap;
const CFX_Matrix& matrix;
const uint8_t* buf;
- int pitch;
+ uint32_t pitch;
};
void CalcMask(const CalcData& cdata);