summaryrefslogtreecommitdiff
path: root/src/cairo-types-private.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-07-10 11:13:07 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2010-07-10 11:16:19 +0100
commit9b9952ab4f64a476bbadfd3e6cf1e66c1137ccd7 (patch)
tree34d566a90edc7467fa39f495204af11f15ff28ed /src/cairo-types-private.h
parenteb85ab998b606144daf025285968a5d6031b9aa6 (diff)
downloadcairo-9b9952ab4f64a476bbadfd3e6cf1e66c1137ccd7.tar.gz
Convert mime data length to use unsigned long
What we want to use is size_t, but we don't want the implied POSIX dependency. However, POSIX does say that size_t is an unsigned integer that is no longer than a long, so it would appear safe to use an unsigned long as a replacement. Safer at least than unsigned int.
Diffstat (limited to 'src/cairo-types-private.h')
-rw-r--r--src/cairo-types-private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-types-private.h b/src/cairo-types-private.h
index af46f4095..d042736cd 100644
--- a/src/cairo-types-private.h
+++ b/src/cairo-types-private.h
@@ -374,7 +374,7 @@ typedef enum _cairo_image_transparency {
struct _cairo_mime_data {
cairo_reference_count_t ref_count;
unsigned char *data;
- unsigned int length;
+ unsigned long length;
cairo_destroy_func_t destroy;
void *closure;
};