Fix(?) two volatile cast warnings. The buffer is volatile within the

function so as to avoid compiler side effects, but functions calling it
shouldn't be affected (gcc shouldn't cache memory scope past a function
call)
This commit is contained in:
Peter Wemm 1997-05-25 04:13:27 +00:00
parent 70117bbefd
commit cee77949ec
1 changed files with 3 additions and 3 deletions

View File

@ -60,7 +60,7 @@
* that category, with the possible exception of scanners and
* some of the older MO drives.
*
* $Id: seagate.c,v 1.21 1997/03/23 04:39:51 bde Exp $
* $Id: seagate.c,v 1.22 1997/03/24 11:24:02 bde Exp $
*/
/*
@ -1109,7 +1109,7 @@ void sea_data_output (adapter_t *z, u_char **pdata, u_long *plen)
#endif
PRINT (("sea (DATAOUT) send %ld bytes\n", *plen - len));
*plen = len;
*pdata = data;
*pdata = (u_char *)data;
}
/*
@ -1179,7 +1179,7 @@ void sea_data_input (adapter_t *z, u_char **pdata, u_long *plen)
#endif
PRINT (("sea (DATAIN) got %ld bytes\n", *plen - len));
*plen = len;
*pdata = data;
*pdata = (u_char *)data;
}
/*