Changeset 48f3027 in rtems


Ignore:
Timestamp:
Nov 10, 2009, 11:29:57 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
f8427ea
Parents:
a91e372
Message:

2009-11-10 Jennifer Averett <jennifer.averett@…>

PR 1468/cpukit

  • score/src/timespecdividebyinteger.c: Rework statement to ensure 64-bit multiplication is used.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    ra91e372 r48f3027  
     12009-11-10      Jennifer Averett <jennifer.averett@OARcorp.com>
     2
     3        PR 1468/cpukit
     4        * score/src/timespecdividebyinteger.c: Rework statement to ensure
     5        64-bit multiplication is used.
     6
    172009-11-10      Jennifer Averett <jennifer.averett@OARcorp.com>
    28
  • cpukit/score/src/timespecdividebyinteger.c

    ra91e372 r48f3027  
    3535   *  in a 64-bit integer.
    3636   */
    37   t  = time->tv_sec * TOD_NANOSECONDS_PER_SECOND;
     37  t  = time->tv_sec;
     38  t *= TOD_NANOSECONDS_PER_SECOND;
    3839  t += time->tv_nsec;
    3940
Note: See TracChangeset for help on using the changeset viewer.