Changeset b5926be in rtems for cpukit/libblock


Ignore:
Timestamp:
May 22, 2010, 4:43:09 PM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
eb5cd5b
Parents:
82034cbe
Message:

2010-05-22 Ralf Corsépius <ralf.corsepius@…>

  • libblock/src/flashdisk.c, libblock/src/nvdisk.c: Cast argp to uintptr_t temporary instead of uint32_t temporary (Avoid incompatible pointer casts on 16bit targets).
Location:
cpukit/libblock/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libblock/src/flashdisk.c

    r82034cbe rb5926be  
    24022402
    24032403      case RTEMS_FDISK_IOCTL_INFO_LEVEL:
    2404         rtems_flashdisks[minor].info_level = (uint32_t) argp;
     2404        rtems_flashdisks[minor].info_level = (uintptr_t) argp;
    24052405        break;
    24062406
  • cpukit/libblock/src/nvdisk.c

    r82034cbe rb5926be  
    732732
    733733      case RTEMS_NVDISK_IOCTL_INFO_LEVEL:
    734         rtems_nvdisks[minor].info_level = (uint32_t) argp;
     734        rtems_nvdisks[minor].info_level = (uintptr_t) argp;
    735735        break;
    736736
Note: See TracChangeset for help on using the changeset viewer.