Skip to content

compilation warnings #12

Description

@RaWa99

There are 2 warnings during compilation. These are
both pointer to integer conversions:

src/XMotif/XmDialogs.c: In function ‘toggledNodeCheckCB’:
src/XMotif/XmDialogs.c:962:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
int bit = (int) client_data;
^
src/XMotif/XmDialogs.c: In function ‘wpignodecheck_’:
src/XMotif/XmDialogs.c:1053:67: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
XtAddCallback (w, XmNvalueChangedCallback, toggledNodeCheckCB, (XtPointer) i);
^
It would be nice to remove these.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions