Skip to content

Commit 2da797a

Browse files
generate: templates: ping-message: Use get_printf_format
Signed-off-by: Patrick José Pereira <[email protected]>
1 parent 9f3067a commit 2da797a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/generate/templates/ping-message-.h.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public:
9595
" {{payload.name}}: %s\n"
9696
{% endif %}
9797
{% else %}
98-
" {{payload.name}}: %d\n"
98+
" {{payload.name}}: %" {{generator.get_printf_format(payload.type)}} "\n"
9999
{% endif %}
100100
{% endfor %}
101101
{% for payload in m.payload %}

0 commit comments

Comments
 (0)