diff options
Diffstat (limited to 'src/analysis/db/items/comment.c')
-rw-r--r-- | src/analysis/db/items/comment.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/analysis/db/items/comment.c b/src/analysis/db/items/comment.c index 15d541b..50522d9 100644 --- a/src/analysis/db/items/comment.c +++ b/src/analysis/db/items/comment.c @@ -465,7 +465,7 @@ static bool g_db_comment_unpack(GDbComment *comment, packed_buffer *pbuf) if (result) { - result = extend_packed_buffer(pbuf, &tmp32, sizeof(uint32_t), true); + result = extract_packed_buffer(pbuf, &tmp32, sizeof(uint32_t), true); comment->flags = tmp32; } @@ -474,13 +474,13 @@ static bool g_db_comment_unpack(GDbComment *comment, packed_buffer *pbuf) if (result) { - result = extend_packed_buffer(pbuf, &tmp8, sizeof(uint8_t), true); + result = extract_packed_buffer(pbuf, &tmp8, sizeof(uint8_t), true); comment->inlined = tmp8; } if (result) { - result = extend_packed_buffer(pbuf, &tmp8, sizeof(uint8_t), true); + result = extract_packed_buffer(pbuf, &tmp8, sizeof(uint8_t), true); comment->repeatable = tmp8; } |