* lib/xwidgets/: more pointer/int cast fixes.
git-svn-id: svn://svn.zoy.org/elk/trunk@271 55e467fa-43c5-0310-a8a2-de718669efc6
This commit is contained in:
parent
51d8ac2837
commit
4fe7ccd660
|
@ -50,7 +50,7 @@ Generic_Predicate (Context)
|
||||||
|
|
||||||
Generic_Equal (Context, CONTEXT, context)
|
Generic_Equal (Context, CONTEXT, context)
|
||||||
|
|
||||||
Generic_Print (Context, "#[context %lu]", POINTER(x))
|
Generic_Print (Context, "#[context %lu]", (unsigned int)(uintptr_t)POINTER(x))
|
||||||
|
|
||||||
static Object Internal_Make_Context (int finalize, XtAppContext context) {
|
static Object Internal_Make_Context (int finalize, XtAppContext context) {
|
||||||
Object c;
|
Object c;
|
||||||
|
|
|
@ -37,7 +37,8 @@ static int Identifier_Equal (Object x, Object y) {
|
||||||
return p->type == q->type && p->val == q->val && !p->free && !q->free;
|
return p->type == q->type && p->val == q->val && !p->free && !q->free;
|
||||||
}
|
}
|
||||||
|
|
||||||
Generic_Print (Identifier, "#[identifier %lu]", POINTER(x))
|
Generic_Print (Identifier, "#[identifier %lu]",
|
||||||
|
(unsigned int)(uintptr_t)POINTER(x))
|
||||||
|
|
||||||
Object Make_Id (int type, XtPointer val, int num) {
|
Object Make_Id (int type, XtPointer val, int num) {
|
||||||
Object i;
|
Object i;
|
||||||
|
|
|
@ -38,7 +38,7 @@ Generic_Predicate (Widget)
|
||||||
|
|
||||||
Generic_Equal (Widget, WIDGET, widget)
|
Generic_Equal (Widget, WIDGET, widget)
|
||||||
|
|
||||||
Generic_Print (Widget, "#[widget %lu]", POINTER(x))
|
Generic_Print (Widget, "#[widget %lu]", (unsigned int)(uintptr_t)POINTER(x))
|
||||||
|
|
||||||
static Object Internal_Make_Widget (int finalize, Widget widget) {
|
static Object Internal_Make_Widget (int finalize, Widget widget) {
|
||||||
Object w;
|
Object w;
|
||||||
|
|
Loading…
Reference in New Issue