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:
parent
e1f9b57844
commit
0f6300008d
1 changed files with 3 additions and 2 deletions
|
@ -796,7 +796,8 @@ CREATION: Visual Edge Software Sept 19/91
|
|||
-----------------------------------------------------------------------------*/
|
||||
static int handle_dialog_child( Widget wgt, void (*manage_func)() )
|
||||
{
|
||||
int i, num_children;
|
||||
int i;
|
||||
XtActVal num_children;
|
||||
Widget *children;
|
||||
|
||||
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.
|
||||
*/
|
||||
|
||||
for (i = 0; i < num_children; i++)
|
||||
for (i = 0; i < (int)num_children; i++)
|
||||
{
|
||||
if ( XtIsSubclass( children[i], rectObjClass ) )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue