aboutsummaryrefslogtreecommitdiff
path: root/cyclone/hammer/pv.c
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2013-01-22 19:17:13 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2013-01-22 19:17:13 +0000
commitd629edf90155d7e2e43b6a1d370746375f050815 (patch)
treeee88eb1101917a4d709bc1903229f6d500359ef9 /cyclone/hammer/pv.c
parent9d9c5e05b6b360b967098acf25c1a97fe89e8c6b (diff)
fix so all pointers used as IDs work in 64-bit also
svn path=/trunk/externals/miXed/; revision=16965
Diffstat (limited to 'cyclone/hammer/pv.c')
-rw-r--r--cyclone/hammer/pv.c6
1 files changed, 3 insertions, 3 deletions
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);
}
}