Changeset 8ad4837 in rtems-tools


Ignore:
Timestamp:
Nov 18, 2012, 11:35:15 PM (7 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.10, 4.11, master
Children:
ead8da1
Parents:
f1cf3a9
Message:

Fix warning from clang.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • linkers/libiberty/pex-unix.c

    rf1cf3a9 r8ad4837  
    7777__attribute__ ((mode (SI)));
    7878
    79 /* Return a 32 bit pointer to an array of 32 bit pointers 
     79/* Return a 32 bit pointer to an array of 32 bit pointers
    8080   given a 64 bit pointer to an array of 64 bit pointers.  */
    8181
     
    261261          pt.user_seconds = r2.ru_utime.tv_sec - r1.ru_utime.tv_sec;
    262262          pt.user_microseconds = r2.ru_utime.tv_usec - r1.ru_utime.tv_usec;
    263           if (pt.user_microseconds < 0)
     263          if ((int) pt.user_microseconds < 0)
    264264            {
    265265              --pt.user_seconds;
     
    269269          pt.system_seconds = r2.ru_stime.tv_sec - r1.ru_stime.tv_sec;
    270270          pt.system_microseconds = r2.ru_stime.tv_usec - r1.ru_stime.tv_usec;
    271           if (pt.system_microseconds < 0)
     271          if ((int) pt.system_microseconds < 0)
    272272            {
    273273              --pt.system_seconds;
Note: See TracChangeset for help on using the changeset viewer.