Changeset 2960c42 in rtems


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

Use PRId32 to print INT's.

File:
1 edited

Legend:

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

    r3d5515b r2960c42  
    298298  status = ref_sem( 1, &pk_rsem );
    299299  assert( status == E_OK );
    300   printf( "Init - semaphore 1 count = %d\n", pk_rsem.semcnt );
     300  printf( "Init - semaphore 1 count = %" PRId32 "\n", pk_rsem.semcnt );
    301301  printf( "Init - semaphore 1 waiting tasks = %d\n", pk_rsem.wtsk );
    302302
     
    308308  status = ref_sem( 1, &pk_rsem );
    309309  assert( status == E_OK );
    310   printf( "Init - semaphore 1 count = %d\n", pk_rsem.semcnt );
     310  printf( "Init - semaphore 1 count = %" PRId32 "\n", pk_rsem.semcnt );
    311311  printf( "Init - semaphore 1 waiting tasks = %d\n", pk_rsem.wtsk );
    312312
Note: See TracChangeset for help on using the changeset viewer.