Changeset eb55e00 in rtems


Ignore:
Timestamp:
Apr 12, 2010, 3:28:03 PM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
5da993c0
Parents:
ffed83e
Message:

2010-04-12 Ralf Corsépius <ralf.corsepius@…>

  • score/include/rtems/system.h: Let RTEMS_offsetof return uintptr_t instead of uint32_t (16bit target compatibility).
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    rffed83e reb55e00  
     12010-04-12      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * score/include/rtems/system.h: Let RTEMS_offsetof return uintptr_t
     4        instead of uint32_t (16bit target compatibility).
     5
    162010-04-12      Ralf Corsépius <ralf.corsepius@rtems.org>
    27
  • cpukit/score/include/rtems/system.h

    rffed83e reb55e00  
    190190 */
    191191#define RTEMS_offsetof(type, field) \
    192        ((uint32_t) &(((type *) 0)->field))
     192       ((uintptr_t) &(((type *) 0)->field))
    193193
    194194/**
Note: See TracChangeset for help on using the changeset viewer.