diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2016-10-13 16:59:40 +0200 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2016-10-13 16:59:40 +0200 |
commit | f5ea1a2a4419241505e23ecd0d78d497cdce399c (patch) | |
tree | a509c5a23c29f7ee530a310cf1c1579ef3b43bb0 | |
parent | 448697c66dc7c41d8d948839645a7057bae3dd62 (diff) | |
download | libnitrokey-f5ea1a2a4419241505e23ecd0d78d497cdce399c.tar.gz libnitrokey-f5ea1a2a4419241505e23ecd0d78d497cdce399c.tar.bz2 |
Convert char to int during dissection
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
-rw-r--r-- | include/stick20_commands.h | 2 |
1 files changed, 1 insertions, 1 deletions
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<CommandID::GET_DEVICE_STATUS> { public: |