|
From: Karsten W. <kar...@us...> - 2006-02-14 11:46:39
|
Update of /cvsroot/frontierkernel/Frontier/FrontierSDK/Toolkits/IACTools/Source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25464 Modified Files: Tag: pre_int64_branch iacbinary.c iactable.c iactext.c Log Message: compiler warning fixes Index: iactext.c =================================================================== RCS file: /cvsroot/frontierkernel/Frontier/FrontierSDK/Toolkits/IACTools/Source/iactext.c,v retrieving revision 1.3 retrieving revision 1.3.6.1 diff -C2 -d -r1.3 -r1.3.6.1 *** iactext.c 11 Jan 2005 22:48:37 -0000 1.3 --- iactext.c 14 Feb 2006 11:46:27 -0000 1.3.6.1 *************** *** 63,75 **** if (ec == noErr) { ! #if TARGET_API_MAC_CARBON == 1 /*PBS 03/14/02: AE OS X fix.*/ ! copydatahandle (&desc, val); ! ! #else ! ! *val = desc.dataHandle; ! ! #endif return (true); --- 63,77 ---- if (ec == noErr) { ! #if TARGET_API_MAC_CARBON == 1 /*PBS 03/14/02: AE OS X fix.*/ ! copydatahandle (&desc, val); ! #if AEDISPOSAL == 1 ! // possible memleak here ! #endif ! #else ! ! *val = desc.dataHandle; ! ! #endif return (true); Index: iacbinary.c =================================================================== RCS file: /cvsroot/frontierkernel/Frontier/FrontierSDK/Toolkits/IACTools/Source/iacbinary.c,v retrieving revision 1.3 retrieving revision 1.3.6.1 diff -C2 -d -r1.3 -r1.3.6.1 *** iacbinary.c 11 Jan 2005 22:48:36 -0000 1.3 --- iacbinary.c 14 Feb 2006 11:46:27 -0000 1.3.6.1 *************** *** 67,79 **** *binaryfieldtype = desc.descriptorType; ! #if TARGET_API_MAC_CARBON == 1 /*PBS 03/14/02: AE OS X fix.*/ ! ! copydatahandle (&desc, val); ! ! #else ! ! *val = desc.dataHandle; ! ! #endif return (true); --- 67,82 ---- *binaryfieldtype = desc.descriptorType; ! #if TARGET_API_MAC_CARBON == 1 /*PBS 03/14/02: AE OS X fix.*/ ! ! copydatahandle (&desc, val); ! #if AEDISPOSAL == 1 ! // possible memleak here ! #endif ! ! #else ! ! *val = desc.dataHandle; ! ! #endif return (true); Index: iactable.c =================================================================== RCS file: /cvsroot/frontierkernel/Frontier/FrontierSDK/Toolkits/IACTools/Source/iactable.c,v retrieving revision 1.3 retrieving revision 1.3.6.1 diff -C2 -d -r1.3 -r1.3.6.1 *** iactable.c 11 Jan 2005 22:48:37 -0000 1.3 --- iactable.c 14 Feb 2006 11:46:27 -0000 1.3.6.1 *************** *** 73,85 **** if (ec == noErr) { ! #if TARGET_API_MAC_CARBON == 1 /*PBS 03/14/02: AE OS X fix.*/ ! ! copydatahandle (&desc, val); ! ! #else ! ! *val = desc.dataHandle; ! ! #endif return (true); --- 73,87 ---- if (ec == noErr) { ! #if TARGET_API_MAC_CARBON == 1 /*PBS 03/14/02: AE OS X fix.*/ ! ! copydatahandle (&desc, val); ! #if AEDISPOSAL == 1 ! // possible memleak here ! #endif ! #else ! ! *val = desc.dataHandle; ! ! #endif return (true); |