Changeset eb5cd5b in rtems


Ignore:
Timestamp:
May 22, 2010, 4:46:59 PM (9 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
2ad5753
Parents:
b5926be
Message:

2010-05-22 Ralf Corsépius <ralf.corsepius@…>

  • libfs/src/rfs/rtems-rfs-bitmaps-ut.c: Use "16 bit int" arg in call to srand if "32 bit int" doesn't fit into "int".
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    rb5926be reb5cd5b  
     12010-05-22      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * libfs/src/rfs/rtems-rfs-bitmaps-ut.c: Use "16 bit int" arg
     4        in call to srand if "32 bit int" doesn't fit into "int".
     5
    162010-05-22      Ralf Corsépius <ralf.corsepius@rtems.org>
    27
  • cpukit/libfs/src/rfs/rtems-rfs-bitmaps-ut.c

    rb5926be reb5cd5b  
    386386  printf (" Num bit per element : %zd\n", rtems_rfs_bitmap_element_bits ());
    387387
    388   srand (0x23984237UL);
     388#if INT_MAX >= 0x23984237
     389  srand (0x23984237);
     390#else
     391  srand (0x2398);
     392#endif
    389393 
    390394  rtems_rfs_bitmap_ut_test_bitmap (2048);
Note: See TracChangeset for help on using the changeset viewer.