summaryrefslogtreecommitdiff
path: root/src/cairo-type1-fallback.c
diff options
context:
space:
mode:
authorAndrea Canciani <ranma42@gmail.com>2010-11-26 13:13:16 +0100
committerAndrea Canciani <ranma42@gmail.com>2010-11-26 13:14:37 +0100
commit1ab64965786208b94ed40aa5f7f9be59d58fbf96 (patch)
tree10a7e8ec80a29b6a4aaae65c1a2169dc01643ee4 /src/cairo-type1-fallback.c
parent47b81b9fea50328bd089db4e5ef8dcb1b181515b (diff)
downloadcairo-1ab64965786208b94ed40aa5f7f9be59d58fbf96.tar.gz
array: Silence warnings
493aaf0f15bfedc88371ffab07d862a400b0da38 made all cairo_array functions use unsigned int for indexes and sizes. This commit fixes the compiler warnings about those values being compared to signed int's.
Diffstat (limited to 'src/cairo-type1-fallback.c')
-rw-r--r--src/cairo-type1-fallback.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cairo-type1-fallback.c b/src/cairo-type1-fallback.c
index 212a45bf9..62ffe927b 100644
--- a/src/cairo-type1-fallback.c
+++ b/src/cairo-type1-fallback.c
@@ -146,7 +146,7 @@ static void
charstring_encode_command (cairo_array_t *data, int command)
{
cairo_status_t status;
- int orig_size;
+ unsigned int orig_size;
unsigned char buf[5];
unsigned char *p = buf;
@@ -173,7 +173,7 @@ charstring_encode_integer (cairo_array_t *data,
cairo_charstring_type_t type)
{
cairo_status_t status;
- int orig_size;
+ unsigned int orig_size;
unsigned char buf[10];
unsigned char *p = buf;