protobuf-c/protobuf-c.c: the no_unpacking_needed case only executes on little endian

This commit is contained in:
Robert Edmonds 2013-11-21 17:13:11 -05:00
parent 49faa55bc2
commit 1f5e813fe7

View File

@ -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