client: fix size offset in parsing of response
commit3a5f9e1e02244c8778e37d11d77904a7285885eb
authorAlexei Colin <ac@alexeicolin.com>
Tue, 31 Oct 2017 03:56:25 +0000 (30 23:56 -0400)
committerWouter Verhelst <w@uter.be>
Thu, 2 Nov 2017 22:31:48 +0000 (2 23:31 +0100)
tree74c52ca64621fbf64b2cec8680699613fba458c4
parent3c610bde4676489084c76191d89eb63dae05e44f
client: fix size offset in parsing of response

This fixes flags being set to bogus on 32-bit systems (armv7h),
where sizeof(*uint64_t) != sizeof(uint64_t).

Signed-off-by: Wouter Verhelst <w@uter.be>
nbd-client.c