diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-10-15 03:59:35 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-10-15 03:59:35 +0000 |
| commit | 740c5b2a20d5110435d0874f8cc6a4c9dfd14777 (patch) | |
| tree | 41dd6d301a1da504b6bc9ec7b4cccea2efd16423 /render/render.c | |
| parent | 8085f3490fb5790d15fcb47988bbc24e17467725 (diff) | |
consistant glib type usage
Diffstat (limited to 'render/render.c')
| -rw-r--r-- | render/render.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/render/render.c b/render/render.c index 3fb4965b..cb29165e 100644 --- a/render/render.c +++ b/render/render.c @@ -39,7 +39,7 @@ static void pixel_data_to_pixmap(RrAppearance *l, void RrPaint(RrAppearance *a, Window win, gint w, gint h) { - int i, transferred = 0, sw; + gint i, transferred = 0, sw; RrPixel32 *source, *dest; Pixmap oldp; RrRect tarea; /* area in which to draw textures */ @@ -278,7 +278,7 @@ static void pixel_data_to_pixmap(RrAppearance *l, as reduce_depth just sets im->data = data and returns */ scratch = g_new(RrPixel32, im->width * im->height); - im->data = (char*) scratch; + im->data = (gchar*) scratch; RrReduceDepth(l->inst, in, im); XPutImage(RrDisplay(l->inst), out, DefaultGC(RrDisplay(l->inst), RrScreen(l->inst)), |
