From 17a4e2ff4c1d6aa9f8f57039702e3be4be35cab4 Mon Sep 17 00:00:00 2001 From: rocky Date: Wed, 27 Oct 2004 01:16:39 +0000 Subject: [PATCH] Cygwin fixes. --- lib/MSWindows/aspi32.c | 6 +++--- lib/MSWindows/win32.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/MSWindows/aspi32.c b/lib/MSWindows/aspi32.c index 333511aa..b53d7885 100644 --- a/lib/MSWindows/aspi32.c +++ b/lib/MSWindows/aspi32.c @@ -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 @@ -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 #include @@ -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. */ diff --git a/lib/MSWindows/win32.c b/lib/MSWindows/win32.c index 067965ca..7f62c986 100644 --- a/lib/MSWindows/win32.c +++ b/lib/MSWindows/win32.c @@ -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 @@ -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 #include @@ -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 ) {