|
From: Karsten W. <kar...@us...> - 2006-02-14 11:37:51
|
Update of /cvsroot/frontierkernel/Frontier/Common/UserLandIACToolkit In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22787/UserLandIACToolkit Modified Files: Tag: pre_int64_branch landgetparam.c Log Message: compiler warning fixes Index: landgetparam.c =================================================================== RCS file: /cvsroot/frontierkernel/Frontier/Common/UserLandIACToolkit/landgetparam.c,v retrieving revision 1.3 retrieving revision 1.3.6.1 diff -C2 -d -r1.3 -r1.3.6.1 *** landgetparam.c 11 Jan 2005 22:47:59 -0000 1.3 --- landgetparam.c 14 Feb 2006 11:37:40 -0000 1.3.6.1 *************** *** 112,132 **** return (false); ! #if TARGET_API_MAC_CARBON == 1 /*PBS 03/14/02: AE OS X fix.*/ ! ! { Handle h; ! copydatahandle (&(param.desc), &h); ! *x = **(short **) h; ! disposehandle (h); ! } ! ! #else ! ! *x = **(short **) param.desc.dataHandle; ! ! #endif landdisposeparamrecord (¶m); --- 112,131 ---- return (false); ! #if TARGET_API_MAC_CARBON == 1 /*PBS 03/14/02: AE OS X fix.*/ ! { Handle h; ! copydatahandle (&(param.desc), &h); ! *x = **(short **) h; ! disposehandle (h); ! } ! ! #else ! ! *x = **(short **) param.desc.dataHandle; ! ! #endif landdisposeparamrecord (¶m); *************** *** 143,162 **** return (false); ! #if TARGET_API_MAC_CARBON == 1 /*PBS 03/14/02: AE OS X fix.*/ ! ! { Handle h; ! copydatahandle (&(param.desc), &h); ! *x = **(long **) h; ! } ! ! #else ! ! *x = **(long **) param.desc.dataHandle; ! ! #endif ! landdisposeparamrecord (¶m); --- 142,160 ---- return (false); ! #if TARGET_API_MAC_CARBON == 1 /*PBS 03/14/02: AE OS X fix.*/ ! { Handle h; ! copydatahandle (&(param.desc), &h); ! *x = **(long **) h; ! } ! ! #else ! ! *x = **(long **) param.desc.dataHandle; ! ! #endif ! landdisposeparamrecord (¶m); *************** *** 199,211 **** return (false); ! #if TARGET_API_MAC_CARBON == 1 /*PBS 03/14/02: AE OS X fix.*/ ! ! copydatahandle (&(param.desc), x); ! ! #else ! ! *x = param.desc.dataHandle; ! ! #endif return (true); --- 197,211 ---- return (false); ! #if TARGET_API_MAC_CARBON == 1 /*PBS 03/14/02: AE OS X fix.*/ ! ! copydatahandle (&(param.desc), x); ! #if AEDISPOSAL == 1 ! // possible memleak here ! #endif ! #else ! ! *x = param.desc.dataHandle; ! ! #endif return (true); |