Changeset 1428


Ignore:
Timestamp:
09/06/11 20:17:02 (9 months ago)
Author:
uwe
Message:

Fix linux_spi.c build on 32bit systems.

Signed-off-by: Uwe Hermann <uwe@…>
Acked-by: Uwe Hermann <uwe@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/linux_spi.c

    r1427 r1428  
    108108        struct spi_ioc_transfer msg[2] = { 
    109109                { 
    110                         .tx_buf = (uint64_t)txbuf, 
     110                        .tx_buf = (uint64_t)(ptrdiff_t)txbuf, 
    111111                        .len = writecnt, 
    112112                }, 
    113113                { 
    114                         .rx_buf = (uint64_t)rxbuf, 
     114                        .rx_buf = (uint64_t)(ptrdiff_t)rxbuf, 
    115115                        .len = readcnt, 
    116116                }, 
Note: See TracChangeset for help on using the changeset viewer.