Changeset ba3ec3d2 in rtems


Ignore:
Timestamp:
Mar 18, 2011, 10:11:10 AM (9 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.11, master
Children:
224cb72
Parents:
0c5f3af3
Message:

Import from zlib-1.2.4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/zlib/zutil.c

    r0c5f3af3 rba3ec3d2  
    3535
    3636    flags = 0;
    37     switch (sizeof(uInt)) {
     37    switch ((int)(sizeof(uInt))) {
    3838    case 2:     break;
    3939    case 4:     flags += 1;     break;
     
    4141    default:    flags += 3;
    4242    }
    43     switch (sizeof(uLong)) {
     43    switch ((int)(sizeof(uLong))) {
    4444    case 2:     break;
    4545    case 4:     flags += 1 << 2;        break;
     
    4747    default:    flags += 3 << 2;
    4848    }
    49     switch (sizeof(voidpf)) {
     49    switch ((int)(sizeof(voidpf))) {
    5050    case 2:     break;
    5151    case 4:     flags += 1 << 4;        break;
     
    5353    default:    flags += 3 << 4;
    5454    }
    55     switch (sizeof(z_off_t)) {
     55    switch ((int)(sizeof(z_off_t))) {
    5656    case 2:     break;
    5757    case 4:     flags += 1 << 6;        break;
Note: See TracChangeset for help on using the changeset viewer.