summaryrefslogtreecommitdiff
path: root/src/cairo-output-stream-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-output-stream-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-output-stream-private.h')
-rw-r--r--src/cairo-output-stream-private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-output-stream-private.h b/src/cairo-output-stream-private.h
index 7845eb0ab..edaabbe78 100644
--- a/src/cairo-output-stream-private.h
+++ b/src/cairo-output-stream-private.h
@@ -175,7 +175,7 @@ _cairo_memory_stream_length (cairo_output_stream_t *stream);
cairo_private cairo_status_t
_cairo_memory_stream_destroy (cairo_output_stream_t *abstract_stream,
unsigned char **data_out,
- unsigned int *length_out);
+ unsigned long *length_out);
cairo_private cairo_output_stream_t *
_cairo_null_stream_create (void);