Changeset abba9f4 in rtems


Ignore:
Timestamp:
Oct 30, 2009, 11:10:16 AM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
275999f
Parents:
1b4b7f3
Message:

Use "long"s for "time"s (16bit compliance).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/itrontests/itrontime01/init.c

    r1b4b7f3 rabba9f4  
    3434int time_sec_epoch( void ) {
    3535
    36 int s_time,t_time,r_time;
     36long s_time,t_time,r_time;
    3737long m_sec;
    3838
    3939t_time = time(NULL);
    40 s_time = (1985-1970)*365*24*60*60;
     40s_time = (1985L-1970L)*365L*24L*60L*60L;
    4141r_time = t_time - s_time;
    4242m_sec = r_time*1000;
Note: See TracChangeset for help on using the changeset viewer.