Changeset 875c071 in rtems-tools


Ignore:
Timestamp:
Sep 14, 2017, 11:05:38 PM (21 months ago)
Author:
Joel Sherrill <joel@…>
Branches:
master
Children:
fa81491
Parents:
f4378ea
git-author:
Joel Sherrill <joel@…> (09/14/17 23:05:38)
git-committer:
Joel Sherrill <joel@…> (09/14/17 23:22:44)
Message:

rtemstoolkit/rld-compression.cpp: Fix warning for comparing signed to unsigned

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rtemstoolkit/rld-compression.cpp

    rf4378ea r875c071  
    274274          if (image.read (header, 2) == 2)
    275275          {
    276             uint32_t block_size =
    277               (((uint32_t) header[0]) << 8) | (uint32_t) header[1];
     276            ssize_t block_size =
     277              (((ssize_t) header[0]) << 8) | (ssize_t) header[1];
    278278
    279279            if (block_size == 0)
Note: See TracChangeset for help on using the changeset viewer.