Changeset c73cab2 in rtems


Ignore:
Timestamp:
Nov 10, 2009, 11:29:55 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.9
Children:
001b4e5a
Parents:
bdf5417e
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

    rbdf5417e rc73cab2  
     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

    rbdf5417e rc73cab2  
    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.