Cygwin fixes.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
$Id: aspi32.c,v 1.49 2004/08/27 04:12:29 rocky Exp $
|
||||
$Id: aspi32.c,v 1.50 2004/10/27 01:16:39 rocky Exp $
|
||||
|
||||
Copyright (C) 2004 Rocky Bernstein <rocky@panix.com>
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
static const char _rcsid[] = "$Id: aspi32.c,v 1.49 2004/08/27 04:12:29 rocky Exp $";
|
||||
static const char _rcsid[] = "$Id: aspi32.c,v 1.50 2004/10/27 01:16:39 rocky Exp $";
|
||||
|
||||
#include <cdio/cdio.h>
|
||||
#include <cdio/sector.h>
|
||||
@@ -381,7 +381,7 @@ init_aspi (_img_private_t *env)
|
||||
}
|
||||
|
||||
if ( !have_aspi(&hASPI, &lpGetSupport, &lpSendCommand) )
|
||||
return NULL;
|
||||
return false;
|
||||
|
||||
/* ASPI support seems to be there. */
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
$Id: win32.c,v 1.46 2004/10/26 07:34:41 rocky Exp $
|
||||
$Id: win32.c,v 1.47 2004/10/27 01:16:39 rocky Exp $
|
||||
|
||||
Copyright (C) 2003, 2004 Rocky Bernstein <rocky@panix.com>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
static const char _rcsid[] = "$Id: win32.c,v 1.46 2004/10/26 07:34:41 rocky Exp $";
|
||||
static const char _rcsid[] = "$Id: win32.c,v 1.47 2004/10/27 01:16:39 rocky Exp $";
|
||||
|
||||
#include <cdio/cdio.h>
|
||||
#include <cdio/sector.h>
|
||||
@@ -484,7 +484,7 @@ _cdio_get_track_format(void *p_obj, track_t i_track)
|
||||
if (!p_env->gen.toc_init) read_toc_win32 (p_env) ;
|
||||
|
||||
if ( i_track < p_env->gen.i_first_track
|
||||
|| i_track >= p_env->gen.i_tracks + p_env->gen.i_first_track ) )
|
||||
|| i_track >= p_env->gen.i_tracks + p_env->gen.i_first_track )
|
||||
return TRACK_FORMAT_ERROR;
|
||||
|
||||
if( p_env->hASPI ) {
|
||||
|
||||
Reference in New Issue
Block a user