From 39bdb78ac3d4219669a160d16cedc75a0c9a7ae1 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Thu, 29 Mar 2012 17:33:32 -0400 Subject: XawIm.c: silence incompatible pointer type warnings Makes code for _XawImCallVendorShellExtResize identical to libXaw. Fixes XawIm.c: In function '_XawImCallVendorShellExtResize': XawIm.c:1554:2: warning: passing argument 1 of 'XawVendorShellExtResize' from incompatible pointer type [enabled by default] XawIm.c:93:13: note: expected 'Widget' but argument is of type 'VendorShellWidget' Signed-off-by: Matt Turner --- src/XawIm.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/XawIm.c b/src/XawIm.c index 00562b5..78d116f 100644 --- a/src/XawIm.c +++ b/src/XawIm.c @@ -1547,11 +1547,10 @@ void _XawImCallVendorShellExtResize( Widget w) { - XawVendorShellExtPart *ve; VendorShellWidget vw; - if ((vw = SearchVendorShell(w)) && (ve = GetExtPart(vw))) { - XawVendorShellExtResize(vw); + if ((vw = SearchVendorShell(w)) && GetExtPart(vw)) { + XawVendorShellExtResize((Widget)vw); } } -- cgit v1.2.3