summaryrefslogtreecommitdiff
path: root/src/sdf/ftbsdf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sdf/ftbsdf.c')
-rw-r--r--src/sdf/ftbsdf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sdf/ftbsdf.c b/src/sdf/ftbsdf.c
index b31530c66..b84212b65 100644
--- a/src/sdf/ftbsdf.c
+++ b/src/sdf/ftbsdf.c
@@ -620,8 +620,8 @@
/* i.e. aligning the source to the center of the */
/* target, the target's width/rows must be checked */
/* before copying. */
- if ( worker->width < source->width ||
- worker->rows < source->rows )
+ if ( worker->width < (FT_Int)source->width ||
+ worker->rows < (FT_Int)source->rows )
{
error = FT_THROW( Invalid_Argument );
goto Exit;