From 23bdc8a0e8b3ad414e02095443db0bf800a416a7 Mon Sep 17 00:00:00 2001 From: lecoanet Date: Tue, 22 Mar 2005 15:30:02 +0000 Subject: Suppressed __unused attribute, this will be dealed with by the gcc directive -Wno-unused-parameter and VC++ does not care about these anyway. --- generic/Image.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'generic/Image.c') diff --git a/generic/Image.c b/generic/Image.c index bdfddb2..ae4ff9e 100644 --- a/generic/Image.c +++ b/generic/Image.c @@ -132,10 +132,10 @@ To2Power(int a) */ static void InvalidateImage(ClientData client_data, - int x __znunused, - int y __znunused, - int width __znunused, - int height __znunused, + int x, + int y, + int width, + int height, int image_width, int image_height) { @@ -1206,11 +1206,11 @@ SuckGlyphsFromServer(ZnWInfo *wi, tgvip->v0y = txf->descent - height; tgvip->v1x = length; tgvip->v1y = txf->descent; - tgvip->t0x = tex_width; - tgvip->t0y = tex_height; + tgvip->t0x = (GLfloat) tex_width; + tgvip->t0y = (GLfloat) tex_height; tgvip->t1x = tgvip->t0x + length; tgvip->t1y = tgvip->t0y + height; - tgvip->advance = length; + tgvip->advance = (GLfloat) length; #ifndef PTK_800 Tcl_UtfToUniChar(cur, &uni_ch); tgvip->code = uni_ch; -- cgit v1.1