Changeset 15baee5 in rtems


Ignore:
Timestamp:
Nov 8, 2009, 8:15:59 AM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
517655cd
Parents:
217282d
Message:

2009-11-08 Ralf Corsépius <ralf.corsepius@…>

  • libmisc/capture/capture.h (RTEMS_CAPTURE_CONTROL_FROM_MASK): Use UINT32_C(1) to avoid overflow in implict typecast on 16bit targets.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r217282d r15baee5  
     12009-11-08      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * libmisc/capture/capture.h (RTEMS_CAPTURE_CONTROL_FROM_MASK):
     4        Use UINT32_C(1) to avoid overflow in implict typecast on 16bit
     5        targets.
     6
    172009-11-03      Ralf Corsépius <ralf.corsepius@rtems.org>
    28
  • cpukit/libmisc/capture/capture.h

    r217282d r15baee5  
    8989 */
    9090#define RTEMS_CAPTURE_CONTROL_FROM_MASK(_s) \
    91  (1 << (RTEMS_CAPTURE_TRIGGER_TASKS - ((_s) + 1)))
     91 (UINT32_C(1) << (RTEMS_CAPTURE_TRIGGER_TASKS - ((_s) + 1)))
    9292
    9393/**
Note: See TracChangeset for help on using the changeset viewer.