From f5ea1a2a4419241505e23ecd0d78d497cdce399c Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Thu, 13 Oct 2016 16:59:40 +0200 Subject: Convert char to int during dissection Signed-off-by: Szczepan Zalega --- include/stick20_commands.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/stick20_commands.h b/include/stick20_commands.h index c684e95..7539a19 100644 --- a/include/stick20_commands.h +++ b/include/stick20_commands.h @@ -182,7 +182,7 @@ class SendPasswordMatrixSetup : semantics::non_constructible { struct EmptyPayload> CommandTransaction; }; -#define d(x) ss << #x":\t" << x << std::endl; +#define d(x) ss << " "#x":\t" << (int)x << std::endl; class GetDeviceStatus : Command { public: -- cgit v1.2.3