Use XtArgVal (usually (long)) to convert (XtPointer) to (int) and back. This provides safe way to convert and avoids compiler warning.
7.0 KiB
7.0 KiB
Use XtArgVal (usually (long)) to convert (XtPointer) to (int) and back. This provides safe way to convert and avoids compiler warning.