|
From: Andre R. <and...@us...> - 2004-10-29 20:22:34
|
Update of /cvsroot/frontierkernel/Frontier/FrontierSDK/Toolkits/IACTools/Source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9466 Modified Files: iacnetwork.c iachandler.c Log Message: Fixed GCC compiler warnings. Index: iachandler.c =================================================================== RCS file: /cvsroot/frontierkernel/Frontier/FrontierSDK/Toolkits/IACTools/Source/iachandler.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** iachandler.c 23 Oct 2004 21:22:35 -0000 1.2 --- iachandler.c 29 Oct 2004 20:22:23 -0000 1.3 *************** *** 22,26 **** #if TARGET_API_MAC_CARBON == 1 ! ec = AEInstallEventHandler (eventclass, id, NewAEEventHandlerUPP (handler), 0, false); #else --- 22,26 ---- #if TARGET_API_MAC_CARBON == 1 ! ec = AEInstallEventHandler (eventclass, id, NewAEEventHandlerUPP ((AEEventHandlerProcPtr) handler), 0, false); #else *************** *** 93,98 **** #if TARGET_API_MAC_CARBON == 1 ! AECoercePtrUPP theHandler = NewAECoercePtrUPP(handler); ! ec = AEInstallCoercionHandler (fromtype, totype, theHandler, (long) 0, false, false); //should we delete this, my gut feeling is no, not until the app ends #else --- 93,98 ---- #if TARGET_API_MAC_CARBON == 1 ! AECoercePtrUPP theHandler = NewAECoercePtrUPP((AECoercePtrProcPtr) handler); ! ec = AEInstallCoercionHandler (fromtype, totype, (AECoercionHandlerUPP) theHandler, (long) 0, false, false); //should we delete this, my gut feeling is no, not until the app ends #else Index: iacnetwork.c =================================================================== RCS file: /cvsroot/frontierkernel/Frontier/FrontierSDK/Toolkits/IACTools/Source/iacnetwork.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** iacnetwork.c 23 Oct 2004 21:23:08 -0000 1.2 --- iacnetwork.c 29 Oct 2004 20:22:23 -0000 1.3 *************** *** 11,14 **** --- 11,17 ---- #define typeTargetID 'targ' + + #if TARGET_API_MAC_OS8 + static void MakePascalStringWLen (StringPtr theDest, int theDestLen, char *theSrc, int theSrcLen) { *************** *** 29,34 **** - #if TARGET_API_MAC_OS8 - static OSErr HCProgramToPortAndLoc (char *theName, short len, LocationNameRec *theLoc, PortInfoRec *thePort) { --- 32,35 ---- |