Changeset d7c3367 in mainline for uspace/lib/ext2/libext2_filesystem.c


Ignore:
Timestamp:
2011-06-03T20:49:02Z (13 years ago)
Author:
Martin Sucha <sucha14@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
95afd72
Parents:
82a3b31f
Message:

Additonal fix for big-endian

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ext2/libext2_filesystem.c

    r82a3b31f rd7c3367  
    4242#include <malloc.h>
    4343#include <assert.h>
     44#include <byteorder.h>
    4445
    4546/**
     
    369370               
    370371                assert(offset_in_block < block_ids_per_block);
    371                 current_block = ((uint32_t*)block->data)[offset_in_block];
     372                current_block = uint32_t_le2host(((uint32_t*)block->data)[offset_in_block]);
    372373               
    373374                rc = block_put(block);
Note: See TracChangeset for help on using the changeset viewer.