aboutsummaryrefslogtreecommitdiff
path: root/include/stick20_commands.h
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2016-10-13 16:59:40 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2016-10-13 16:59:40 +0200
commitf5ea1a2a4419241505e23ecd0d78d497cdce399c (patch)
treea509c5a23c29f7ee530a310cf1c1579ef3b43bb0 /include/stick20_commands.h
parent448697c66dc7c41d8d948839645a7057bae3dd62 (diff)
downloadlibnitrokey-f5ea1a2a4419241505e23ecd0d78d497cdce399c.tar.gz
libnitrokey-f5ea1a2a4419241505e23ecd0d78d497cdce399c.tar.bz2
Convert char to int during dissection
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'include/stick20_commands.h')
-rw-r--r--include/stick20_commands.h2
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: