diff options
author | Markus Stange <mstange@themasta.com> | 2010-11-05 09:23:44 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-11-26 10:02:34 +0000 |
commit | 841a2df7359e2b491aed7ed8c043cce669357ae3 (patch) | |
tree | 8c4164ac86ff7c415333d4ff55721f037229dc74 /src | |
parent | b6a97499c71af60a3f15d131d51eb53fb21b48ff (diff) |
Fix type of _cairo_memory_stream_destroy parameter
In 9b9952ab4f64a476bbadfd3e6cf1e66c1137ccd7
_cairo_memory_stream_destroy was changed to take an unsigned long
instead of unsigned int, and the two callsites in cairo-gl-shaders.c
weren't updated.
Diffstat (limited to 'src')
-rw-r--r-- | src/cairo-gl-shaders.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cairo-gl-shaders.c b/src/cairo-gl-shaders.c index d7773f56..ea329dd8 100644 --- a/src/cairo-gl-shaders.c +++ b/src/cairo-gl-shaders.c @@ -632,7 +632,7 @@ cairo_gl_shader_get_vertex_source (cairo_gl_var_type_t src, { cairo_output_stream_t *stream = _cairo_memory_stream_create (); unsigned char *source; - unsigned int length; + unsigned long length; cairo_status_t status; cairo_gl_shader_emit_variable (stream, src, CAIRO_GL_TEX_SOURCE); @@ -768,7 +768,7 @@ cairo_gl_shader_get_fragment_source (GLuint tex_target, { cairo_output_stream_t *stream = _cairo_memory_stream_create (); unsigned char *source; - unsigned int length; + unsigned long length; cairo_status_t status; cairo_gl_shader_emit_color (stream, tex_target, src, CAIRO_GL_TEX_SOURCE); |