[PD-cvs] externals/iemlib/src/iemlib2 parentdollarzero.c,1.2,1.3
IOhannes m zmölnig
zmoelnig at users.sourceforge.net
Sat Sep 3 10:31:59 CEST 2005
- Previous message: [PD-cvs] externals/iemlib/src/iemlib2 makefile, 1.5, 1.6 sigm2f.c, 1.3, 1.4 splitfilename.c, 1.5, 1.6
- Next message: [PD-cvs] externals/grill/dynext dynext.vcproj, 1.6, 1.7 readme.txt, 1.8, 1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/pure-data/externals/iemlib/src/iemlib2
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14339
Modified Files:
parentdollarzero.c
Log Message:
removed the cast from (void*) to (unsigned int) [which, btw, should really be "bool" for x_is_there_a_parent], and replaced it with a proper test. this makes it work on machines where sizeof(void*)!=sizeof(uint) (like x86_64)
Index: parentdollarzero.c
===================================================================
RCS file: /cvsroot/pure-data/externals/iemlib/src/iemlib2/parentdollarzero.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** parentdollarzero.c 8 Jul 2005 02:04:25 -0000 1.2
--- parentdollarzero.c 3 Sep 2005 08:31:57 -0000 1.3
***************
*** 41,45 ****
t_canvas *this_canvas = glist_getcanvas(glist);
! x->x_is_there_a_parent = (unsigned int)this_canvas->gl_owner;
if(x->x_is_there_a_parent)
--- 41,45 ----
t_canvas *this_canvas = glist_getcanvas(glist);
! x->x_is_there_a_parent = (unsigned int)(0!=this_canvas->gl_owner);
if(x->x_is_there_a_parent)
- Previous message: [PD-cvs] externals/iemlib/src/iemlib2 makefile, 1.5, 1.6 sigm2f.c, 1.3, 1.4 splitfilename.c, 1.5, 1.6
- Next message: [PD-cvs] externals/grill/dynext dynext.vcproj, 1.6, 1.7 readme.txt, 1.8, 1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Pd-cvs
mailing list