Commit 1f5e813f authored by Robert Edmonds's avatar Robert Edmonds

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

parent 49faa55b
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment