diff src/cdrom/macosx/AudioFilePlayer.c @ 1793:4d66375c2012

Date: Mon, 8 May 2006 14:19:30 -0700 From: Bob Ippolito Subject: SDL trunk (r2346) and Mac OS X As for all the Carbon warnings.. the two File Manager ones should be easy to get rid of, the QuickDraw ones won't be so easy since that requires actual refactoring. PBUnmountVol -> FSEjectVolumeSync FSClose -> FSCloseFork
author Sam Lantinga <slouken@libsdl.org>
date Tue, 09 May 2006 07:52:04 +0000
parents dc6b59e925a2
children 782fd950bd46 c121d94672cb a1b03ba2fcd0
line wrap: on
line diff
--- a/src/cdrom/macosx/AudioFilePlayer.c	Tue May 09 07:50:28 2006 +0000
+++ b/src/cdrom/macosx/AudioFilePlayer.c	Tue May 09 07:52:04 2006 +0000
@@ -153,7 +153,7 @@
         }
     
         if (afp->mForkRefNum) {
-            FSClose (afp->mForkRefNum);
+            FSCloseFork (afp->mForkRefNum);
             afp->mForkRefNum = 0;
         }
         SDL_free(afp);