comparison src/cdrom/macosx/SDL_syscdrom.c @ 1487:dc6b59e925a2

Cleaning up warnings on MacOS X
author Sam Lantinga <slouken@libsdl.org>
date Thu, 09 Mar 2006 06:33:21 +0000
parents d910939febfa
children 92947e3a18db
comparison
equal deleted inserted replaced
1486:9d77fc9d0ace 1487:dc6b59e925a2
470 return -3; 470 return -3;
471 } 471 }
472 472
473 status = CD_STOPPED; 473 status = CD_STOPPED;
474 474
475 // Eject the volume 475 /* Eject the volume */
476 pb.ioParam.ioNamePtr = NULL; 476 pb.ioParam.ioNamePtr = NULL;
477 pb.ioParam.ioVRefNum = volumes[cdrom->id]; 477 pb.ioParam.ioVRefNum = volumes[cdrom->id];
478 err = PBUnmountVol((ParamBlockRec *) &pb); 478 err = PBUnmountVol((ParamBlockRec *) &pb);
479 479
480 if (err != noErr) { 480 if (err != noErr) {