Changeset 96bb783a in rtems for testsuites/samples


Ignore:
Timestamp:
Oct 18, 2011, 1:36:37 PM (8 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.11, master
Children:
5e9990b
Parents:
49755cfd
Message:

2011-10-18 Ralf Corsépius <ralf.corsepius@…>

  • fileio/init.c: Explictly consts in size_t initializers (avoid overflows on 16bit-int targets).
Location:
testsuites/samples
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • testsuites/samples/ChangeLog

    r49755cfd r96bb783a  
     12011-10-18      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * fileio/init.c: Explictly consts in size_t initializers
     4        (avoid overflows on 16bit-int targets).
     5
    162011-10-07      Ralf Corsépius <ralf.corsepius@rtems.org>
    27
  • testsuites/samples/fileio/init.c

    r49755cfd r96bb783a  
    9393    flags:  0,
    9494    base:   0,
    95     size:   1 * 1024 * 1024,
     95    size:   (size_t) 1024 * 1024,
    9696    nv_ops: &rtems_nvdisk_sram_handlers
    9797  }
     
    425425  {
    426426    case 'M':
    427       scalar = 1000 * 1024;
     427      scalar = (size_t) 1000 * 1024;
    428428      break;
    429429    case 'm':
Note: See TracChangeset for help on using the changeset viewer.