|
From: Karsten W. <kar...@us...> - 2006-02-14 11:36:09
|
Update of /cvsroot/frontierkernel/Frontier/Common/IowaRuntime/Source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22236/Source Modified Files: Tag: pre_int64_branch iowaruntime.c iowascript.c Log Message: compiler warning fixes Index: iowascript.c =================================================================== RCS file: /cvsroot/frontierkernel/Frontier/Common/IowaRuntime/Source/iowascript.c,v retrieving revision 1.3 retrieving revision 1.3.6.1 diff -C2 -d -r1.3 -r1.3.6.1 *** iowascript.c 11 Jan 2005 22:47:40 -0000 1.3 --- iowascript.c 14 Feb 2006 11:36:00 -0000 1.3.6.1 *************** *** 389,395 **** static boolean rungraphicalurl (Handle hscript, bigstring errorstring) { ! setstringlength (errorstring, 0); ! return (true); } /*rungraphicalurl*/ --- 389,396 ---- static boolean rungraphicalurl (Handle hscript, bigstring errorstring) { ! #pragma unused (hscript) ! setstringlength (errorstring, 0); ! return (true); } /*rungraphicalurl*/ *************** *** 509,521 **** if (flgetreturn) ! #if TARGET_API_MAC_CARBON == 1 /*PBS 03/14/02: AE OS X fix.*/ ! ! copydatahandle (&resultdesc, hreturns); ! ! #else ! ! *hreturns = resultdesc.dataHandle; ! ! #endif else AEDisposeDesc (&resultdesc); --- 510,522 ---- if (flgetreturn) ! #if TARGET_API_MAC_CARBON == 1 /*PBS 03/14/02: AE OS X fix.*/ ! ! copydatahandle (&resultdesc, hreturns); ! ! #else ! ! *hreturns = resultdesc.dataHandle; ! ! #endif else AEDisposeDesc (&resultdesc); Index: iowaruntime.c =================================================================== RCS file: /cvsroot/frontierkernel/Frontier/Common/IowaRuntime/Source/iowaruntime.c,v retrieving revision 1.5 retrieving revision 1.5.4.1 diff -C2 -d -r1.5 -r1.5.4.1 *** iowaruntime.c 24 Jan 2005 02:11:50 -0000 1.5 --- iowaruntime.c 14 Feb 2006 11:35:56 -0000 1.5.4.1 *************** *** 306,310 **** hdlcard hc; boolean beginendupdate; ! if (hw == nil) // 7.3.97 dmb: can happen when multiple cards are started quickly return; --- 306,312 ---- hdlcard hc; boolean beginendupdate; ! Rect windBounds; // kw - 2006-02-02 --- osx refactoring ! CGrafPtr thePort; [...1326 lines suppressed...] --- 2646,2664 ---- } } + thePort = getmacwindowport(modelesswindow); + SetPort (thePort); sendinitmessage (); ! exit: + /*restore saved globals*/ + { iowadata = oldiowadata; ! runtimedata = oldruntimedata; ! SetPort (oldport); } |