diff options
author | Ian Osgood <iano@quirkster.com> | 2006-10-14 16:26:44 -0700 |
---|---|---|
committer | Ian Osgood <iano@quirkster.com> | 2006-10-14 16:26:44 -0700 |
commit | 28c2d56465530fd90675a6da2e5ce490f22ccccd (patch) | |
tree | de050a6fd565dcc3954d1f183b28aed1842676ae /renderutil | |
parent | 28067bae7f889af3c8b03eec930e59215f35dcdf (diff) |
Const correctness.
Diffstat (limited to 'renderutil')
-rw-r--r-- | renderutil/glyph.c | 6 | ||||
-rw-r--r-- | renderutil/xcb_renderutil.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/renderutil/glyph.c b/renderutil/glyph.c index 852ed01..da8c53f 100644 --- a/renderutil/glyph.c +++ b/renderutil/glyph.c @@ -98,7 +98,7 @@ xcb_render_util_glyphs_8 ( int16_t dx, int16_t dy, uint32_t count, - uint8_t *glyphs ) + const uint8_t *glyphs ) { _glyph_header_t header = { count, {0,0,0}, htons(dx), htons(dy) }; @@ -124,7 +124,7 @@ xcb_render_util_glyphs_16 ( int16_t dx, int16_t dy, uint32_t count, - uint16_t *glyphs ) + const uint16_t *glyphs ) { uint16_t *current16; _glyph_header_t header = { count, {0,0,0}, htons(dx), htons(dy) }; @@ -154,7 +154,7 @@ xcb_render_util_glyphs_32 ( int16_t dx, int16_t dy, uint32_t count, - uint32_t *glyphs ) + const uint32_t *glyphs ) { _glyph_header_t header = { count, {0,0,0}, htons(dx), htons(dy) }; diff --git a/renderutil/xcb_renderutil.h b/renderutil/xcb_renderutil.h index c374eac..33592a2 100644 --- a/renderutil/xcb_renderutil.h +++ b/renderutil/xcb_renderutil.h @@ -91,7 +91,7 @@ xcb_render_util_glyphs_8 ( int16_t dx, int16_t dy, uint32_t count, - uint8_t *glyphs ); + const uint8_t *glyphs ); void xcb_render_util_glyphs_16 ( @@ -99,7 +99,7 @@ xcb_render_util_glyphs_16 ( int16_t dx, int16_t dy, uint32_t count, - uint16_t *glyphs ); + const uint16_t *glyphs ); void xcb_render_util_glyphs_32 ( @@ -107,7 +107,7 @@ xcb_render_util_glyphs_32 ( int16_t dx, int16_t dy, uint32_t count, - uint32_t *glyphs ); + const uint32_t *glyphs ); void xcb_render_util_change_glyphset ( |