From: David Barksdale Date: Mon, 9 Oct 2017 20:06:13 +0000 (-0500) Subject: Fix overflow in test_sq X-Git-Tag: gnunet-0.11.0rc0~102^2~5 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c4e393c4a87b7b7386970e35615686fa2332450a;p=oweals%2Fgnunet.git Fix overflow in test_sq --- diff --git a/src/sq/sq_result_helper.c b/src/sq/sq_result_helper.c index 9579863b2..f2986a053 100644 --- a/src/sq/sq_result_helper.c +++ b/src/sq/sq_result_helper.c @@ -620,7 +620,7 @@ extract_uint16 (void *cls, void *dst) { uint64_t v; - uint32_t *u = dst; + uint16_t *u = dst; GNUNET_assert (sizeof (uint16_t) == *dst_size); if (SQLITE_INTEGER !=