1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

dticon: make XVaGetValues() call 64-bit compliant

This commit is contained in:
Marcin Cieslak 2012-09-26 12:14:53 +02:00 committed by Jon Trulson
parent e1f9b57844
commit 0f6300008d

View file

@ -796,7 +796,8 @@ CREATION: Visual Edge Software Sept 19/91
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
static int handle_dialog_child( Widget wgt, void (*manage_func)() ) static int handle_dialog_child( Widget wgt, void (*manage_func)() )
{ {
int i, num_children; int i;
XtActVal num_children;
Widget *children; Widget *children;
XtVaGetValues( wgt, XtVaGetValues( wgt,
@ -809,7 +810,7 @@ static int handle_dialog_child( Widget wgt, void (*manage_func)() )
* implementations of Motif add protocol children to the dialogShell. * implementations of Motif add protocol children to the dialogShell.
*/ */
for (i = 0; i < num_children; i++) for (i = 0; i < (int)num_children; i++)
{ {
if ( XtIsSubclass( children[i], rectObjClass ) ) if ( XtIsSubclass( children[i], rectObjClass ) )
{ {