mirror of
https://github.com/protobuf-c/protobuf-c.git
synced 2024-12-27 22:01:02 +08:00
protobuf-c/protobuf-c.c: the no_unpacking_needed case only executes on little endian
This commit is contained in:
parent
49faa55bc2
commit
1f5e813fe7
@ -1994,10 +1994,12 @@ parse_packed_repeated_member (ScannedMember *scanned_member,
|
||||
*p_n += count;
|
||||
return TRUE;
|
||||
|
||||
#if !defined(WORDS_BIGENDIAN)
|
||||
no_unpacking_needed:
|
||||
memcpy (array, at, count * siz);
|
||||
*p_n += count;
|
||||
return TRUE;
|
||||
#endif
|
||||
}
|
||||
|
||||
static protobuf_c_boolean
|
||||
|
Loading…
x
Reference in New Issue
Block a user