1
0
mirror of https://git.code.sf.net/p/fuse-emulator/fuse synced 2026-01-28 14:20:54 +03:00

Remove a couple of --enable-warnings warnings about unsigned < 0

comparisons.

Legacy-ID: 563
This commit is contained in:
Philip Kendall
2002-08-18 12:00:29 +00:00
parent 9bed83b0d8
commit a16cfda9c7
2 changed files with 3 additions and 3 deletions

View File

@@ -460,7 +460,7 @@ specplus3_disk_insert( specplus3_drive_number which, const char *filename )
struct flock lock;
size_t i; int error;
if( which < SPECPLUS3_DRIVE_A || which > SPECPLUS3_DRIVE_B ) {
if( which > SPECPLUS3_DRIVE_B ) {
ui_error( UI_ERROR_ERROR, "specplus3_disk_insert: unknown drive %d\n",
which );
fuse_abort();
@@ -552,7 +552,7 @@ specplus3_disk_eject( specplus3_drive_number which )
{
int error;
if( which < SPECPLUS3_DRIVE_A || which > SPECPLUS3_DRIVE_B ) {
if( which > SPECPLUS3_DRIVE_B ) {
ui_error( UI_ERROR_ERROR, "specplus3_disk_eject: unknown drive %d\n",
which );
fuse_abort();

View File

@@ -60,7 +60,7 @@ void specplus3_memoryport_write(WORD port, BYTE b);
/* The +3's drives */
typedef enum specplus3_drive_number {
SPECPLUS3_DRIVE_A = 0,
SPECPLUS3_DRIVE_A = 0, /* First drive must be number zero */
SPECPLUS3_DRIVE_B,
} specplus3_drive_number;