aboutsummaryrefslogtreecommitdiff
path: root/NitrokeyManager.cc
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2017-02-17 17:52:54 +0100
committerSzczepan Zalega <szczepan@nitrokey.com>2017-03-11 15:41:48 +0100
commit0fb8c08704a338bb9f1b7d3ead4b488bf65cf51e (patch)
tree71a095ba99880a86b6274f04f4de7996d278836c /NitrokeyManager.cc
parent6061ee1af573147e41a0834d1c6628eda2fa2f7c (diff)
downloadlibnitrokey-0fb8c08704a338bb9f1b7d3ead4b488bf65cf51e.tar.gz
libnitrokey-0fb8c08704a338bb9f1b7d3ead4b488bf65cf51e.tar.bz2
Make names more consistent
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'NitrokeyManager.cc')
-rw-r--r--NitrokeyManager.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/NitrokeyManager.cc b/NitrokeyManager.cc
index 4fed0a6..2858a18 100644
--- a/NitrokeyManager.cc
+++ b/NitrokeyManager.cc
@@ -143,7 +143,7 @@ namespace nitrokey{
switch (device->get_device_model()) {
case DeviceModel::PRO: {
auto response = GetStatus::CommandTransaction::run(device);
- return nitrokey::misc::toHex(response.data().card_serial_i);
+ return nitrokey::misc::toHex(response.data().card_serial_u32);
}
break;