diff options
author | lecoanet | 2005-03-22 15:30:02 +0000 |
---|---|---|
committer | lecoanet | 2005-03-22 15:30:02 +0000 |
commit | 23bdc8a0e8b3ad414e02095443db0bf800a416a7 (patch) | |
tree | 32dca5b2d080e37bcf7c7d688b0a90a2bb0ed74c /generic/Image.c | |
parent | 031202b57154ac378a03b3524dfa155e6110df03 (diff) | |
download | tkzinc-23bdc8a0e8b3ad414e02095443db0bf800a416a7.zip tkzinc-23bdc8a0e8b3ad414e02095443db0bf800a416a7.tar.gz tkzinc-23bdc8a0e8b3ad414e02095443db0bf800a416a7.tar.bz2 tkzinc-23bdc8a0e8b3ad414e02095443db0bf800a416a7.tar.xz |
Suppressed __unused attribute, this will be dealed with
by the gcc directive -Wno-unused-parameter and VC++
does not care about these anyway.
Diffstat (limited to 'generic/Image.c')
-rw-r--r-- | generic/Image.c | 14 |
1 files changed, 7 insertions, 7 deletions
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; |