Skip to content
This repository has been archived by the owner on Dec 20, 2018. It is now read-only.

Commit

Permalink
ipc: remove unaligned load
Browse files Browse the repository at this point in the history
  • Loading branch information
indutny committed Jan 14, 2015
1 parent b112852 commit 88e01c2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/ipc.c
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ void bud_ipc_parse(bud_ipc_t* ipc) {
ASSERT(r == ipc->waiting, "Read less than expected");

ipc->pending.type = *(uint8_t*) buf;
ipc->pending.size = *(uint32_t*) &buf[1];
ipc->pending.size = bud_read_uint32(buf, 1);

ipc->waiting = ipc->pending.size;
Expand Down

0 comments on commit 88e01c2

Please sign in to comment.