Big change!
We now are starting to have universal MMC routines. To do this we need to have function pointers to the OS-specific MMC send/run command. Expect some breakage. Down the line though this will increase code reuse, reliabilty, and make the library more user-customizable.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
$Id: nrg.c,v 1.34 2004/07/25 18:37:09 rocky Exp $
|
||||
$Id: nrg.c,v 1.35 2004/07/26 02:54:37 rocky Exp $
|
||||
|
||||
Copyright (C) 2003, 2004 Rocky Bernstein <rocky@panix.com>
|
||||
Copyright (C) 2001, 2003 Herbert Valerio Riedel <hvr@gnu.org>
|
||||
@@ -45,7 +45,7 @@
|
||||
#include "_cdio_stdio.h"
|
||||
#include "nrg.h"
|
||||
|
||||
static const char _rcsid[] = "$Id: nrg.c,v 1.34 2004/07/25 18:37:09 rocky Exp $";
|
||||
static const char _rcsid[] = "$Id: nrg.c,v 1.35 2004/07/26 02:54:37 rocky Exp $";
|
||||
|
||||
|
||||
/* reader */
|
||||
@@ -1220,7 +1220,7 @@ cdio_open_nrg (const char *psz_source)
|
||||
_data->is_dao = false;
|
||||
_data->is_cues = false; /* FIXME: remove is_cues. */
|
||||
|
||||
ret = cdio_new (_data, &_funcs);
|
||||
ret = cdio_new ((void *)_data, &_funcs);
|
||||
|
||||
if (ret == NULL) {
|
||||
free(_data);
|
||||
|
||||
Reference in New Issue
Block a user