From 91975d97d3ca6b7c5cf868c06c68ee883358b064 Mon Sep 17 00:00:00 2001 From: Gawen Date: Tue, 4 Nov 2014 19:55:21 +0100 Subject: [PATCH] fix: make cmp_write_object handle CMP_TYPE_STR8 --- cmp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmp.c b/cmp.c index 7226f6e..b2a84eb 100644 --- a/cmp.c +++ b/cmp.c @@ -1018,6 +1018,8 @@ bool cmp_write_object(cmp_ctx_t *ctx, cmp_object_t *obj) { return cmp_write_fixext8_marker(ctx, obj->as.ext.type); case CMP_TYPE_FIXEXT16: return cmp_write_fixext16_marker(ctx, obj->as.ext.type); + case CMP_TYPE_STR8: + return cmp_write_str8_marker(ctx, obj->as.str_size); case CMP_TYPE_STR16: return cmp_write_str16_marker(ctx, obj->as.str_size); case CMP_TYPE_STR32: