forked from Imagelibrary/rtems
2011-11-06 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1945/cpukit * libchip/i2c/spi-memdrv.c: Replace rtems_off64_t with off_t.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2011-11-06 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
PR 1945/cpukit
|
||||
* libchip/i2c/spi-memdrv.c: Replace rtems_off64_t with off_t.
|
||||
|
||||
2011-10-28 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
PR 1944/misc
|
||||
|
||||
@@ -126,7 +126,7 @@ rtems_status_code spi_memdrv_write
|
||||
{
|
||||
rtems_status_code rc = RTEMS_SUCCESSFUL;
|
||||
rtems_libio_rw_args_t *rwargs = arg;
|
||||
rtems_off64_t off = rwargs->offset;
|
||||
off_t off = rwargs->offset;
|
||||
int cnt = rwargs->count;
|
||||
unsigned char *buf = (unsigned char *)rwargs->buffer;
|
||||
int bytes_sent = 0;
|
||||
@@ -312,7 +312,7 @@ rtems_status_code spi_memdrv_read
|
||||
{
|
||||
rtems_status_code rc = RTEMS_SUCCESSFUL;
|
||||
rtems_libio_rw_args_t *rwargs = arg;
|
||||
rtems_off64_t off = rwargs->offset;
|
||||
off_t off = rwargs->offset;
|
||||
int cnt = rwargs->count;
|
||||
unsigned char *buf = (unsigned char *)rwargs->buffer;
|
||||
unsigned char cmdbuf[4];
|
||||
|
||||
Reference in New Issue
Block a user