Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 8b9ce33 in mainline


Ignore:
Timestamp:
2014-06-09T20:49:32Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
334bf28
Parents:
3c5916cb
Message:

OFW memmap entry size needs to be pointer-sized.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/genarch/src/ofw.c

    r3c5916cb r8b9ce33  
    377377            (map->cnt < MEMMAP_MAX_RECORDS); pos += ac + sc) {
    378378                void *start = (void *) (buf[pos + ac - 1]);
    379                 uint32_t size = buf[pos + ac + sc - 1];
     379                uintptr_t size = buf[pos + ac + sc - 1];
    380380               
    381381                /*
Note: See TracChangeset for help on using the changeset viewer.