Changeset 54b4a02 in rtems


Ignore:
Timestamp:
Oct 30, 2009, 5:28:43 PM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
7bf6612b
Parents:
ef89926
Message:

Use %ld to print "time"s.

File:
1 edited

Legend:

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

    ref89926 r54b4a02  
    4242m_sec = r_time*1000;
    4343
    44 printf( "Time from 1970: %d\n", t_time );
    45 printf( "Time between 1970 and 1985: %d\n", s_time );
    46 printf( "Time from 1985: %d\n", r_time );
     44printf( "Time from 1970: %ld\n", t_time );
     45printf( "Time between 1970 and 1985: %ld\n", s_time );
     46printf( "Time from 1985: %ld\n", r_time );
    4747printf("milliseconds: %ld\n",m_sec);
    4848
Note: See TracChangeset for help on using the changeset viewer.