Changeset 241d2f2 in rtems


Ignore:
Timestamp:
Aug 2, 2017, 12:13:06 PM (2 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
60d077f
Parents:
d8012bbd
git-author:
Sebastian Huber <sebastian.huber@…> (08/02/17 12:13:06)
git-committer:
Sebastian Huber <sebastian.huber@…> (08/22/17 14:27:01)
Message:

bsps: Fix integer types in bsp_fdt_copy()

Update #3082.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/shared/src/bsp-fdt.c

    rd8012bbd r241d2f2  
    4848
    4949  if (s != d) {
    50     uint32_t m = MIN(sizeof(bsp_fdt_blob), fdt_totalsize(src));
    51     uint32_t n = (m + sizeof(*d) - 1) / sizeof(*d);
    52     uint32_t i;
     50    size_t m = MIN(sizeof(bsp_fdt_blob), fdt_totalsize(src));
     51    size_t n = (m + sizeof(*d) - 1) / sizeof(*d);
     52    size_t i;
    5353
    5454    for (i = 0; i < n; ++i) {
Note: See TracChangeset for help on using the changeset viewer.