Cygwin fixes.

This commit is contained in:
rocky
2004-10-27 01:16:39 +00:00
parent f49f88e122
commit 17a4e2ff4c
2 changed files with 6 additions and 6 deletions

View File

@@ -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> Copyright (C) 2004 Rocky Bernstein <rocky@panix.com>
@@ -27,7 +27,7 @@
# include "config.h" # include "config.h"
#endif #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/cdio.h>
#include <cdio/sector.h> #include <cdio/sector.h>
@@ -381,7 +381,7 @@ init_aspi (_img_private_t *env)
} }
if ( !have_aspi(&hASPI, &lpGetSupport, &lpSendCommand) ) if ( !have_aspi(&hASPI, &lpGetSupport, &lpSendCommand) )
return NULL; return false;
/* ASPI support seems to be there. */ /* ASPI support seems to be there. */

View File

@@ -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> Copyright (C) 2003, 2004 Rocky Bernstein <rocky@panix.com>
@@ -26,7 +26,7 @@
# include "config.h" # include "config.h"
#endif #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/cdio.h>
#include <cdio/sector.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 (!p_env->gen.toc_init) read_toc_win32 (p_env) ;
if ( i_track < p_env->gen.i_first_track 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; return TRACK_FORMAT_ERROR;
if( p_env->hASPI ) { if( p_env->hASPI ) {