-----------------------------------------------------------------------------*/
static int handle_dialog_child( Widget wgt, void (*manage_func)() )
{
- int i, num_children;
+ int i;
+ XtActVal num_children;
Widget *children;
XtVaGetValues( wgt,
* 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 ) )
{