Skip to content

Commit

Permalink
Fix type of _cairo_memory_stream_destroy parameter
Browse files Browse the repository at this point in the history
In 9b9952a
_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.
  • Loading branch information
Markus Stange authored and Andrea Canciani committed Nov 5, 2010
1 parent 6dda9c4 commit b53084b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cairo-gl-shaders.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit b53084b

Please sign in to comment.