Skip to content

Commit 249250f

Browse files
committed
Use template_id, bacause it is uint32_t and it will not add 0x00 at the begining
1 parent bb197b2 commit 249250f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/mfast/coder/encoder/fast_encoder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ void fast_encoder_impl::visit(message_cref cref, bool force_reset) {
189189

190190
if (need_encode_template_id) {
191191
active_message_id_ = template_id;
192-
strm_.encode(active_message_id_, false, false);
192+
strm_.encode(template_id, false, false);
193193
}
194194

195195
aggregate_cref message(cref.field_storage(0), instruction);

0 commit comments

Comments
 (0)