From d629edf90155d7e2e43b6a1d370746375f050815 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 22 Jan 2013 19:17:13 +0000 Subject: fix so all pointers used as IDs work in 64-bit also svn path=/trunk/externals/miXed/; revision=16965 --- cyclone/hammer/pv.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cyclone/hammer/pv.c') diff --git a/cyclone/hammer/pv.c b/cyclone/hammer/pv.c index a444b51..85f4ddc 100644 --- a/cyclone/hammer/pv.c +++ b/cyclone/hammer/pv.c @@ -358,11 +358,11 @@ static void pv_objstatus(t_pv *x, t_glist *glist) for (g = glist->gl_list; g; g = g->g_next) { if (g == (t_gobj *)x) - post("%x (this object) owning patcher [%s]", - (int)g, glist->gl_name->s_name); + post("%lx (this object) owning patcher [%s]", + (unsigned long)g, glist->gl_name->s_name); else if (pd_class(&g->g_pd) == pv_class && ((t_pv *)g)->x_name == x->x_name) - post("%x owning patcher [%s]", (int)g, glist->gl_name->s_name); + post("%lx owning patcher [%s]", (unsigned long)g, glist->gl_name->s_name); } } -- cgit v1.2.1