mirror of
https://github.com/vivier/EMILE.git
synced 2024-12-23 01:29:34 +00:00
Manage big endian/little endian
This commit is contained in:
parent
0b6dcf91f1
commit
b2e366a3c5
@ -7,8 +7,9 @@ static __attribute__((used)) char* rcsid = "$CVSHeader$";
|
||||
|
||||
#include "partition.h"
|
||||
#include "libemile.h"
|
||||
#include "emile.h"
|
||||
|
||||
int emile_map_partition_is_valid(emile_map_t *map)
|
||||
{
|
||||
return map->partition.Sig == MAP_SIGNATURE;
|
||||
return read_short(&map->partition.Sig) == MAP_SIGNATURE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user