aboutsummaryrefslogtreecommitdiff
path: root/NitrokeyManager.cc
diff options
context:
space:
mode:
Diffstat (limited to 'NitrokeyManager.cc')
-rw-r--r--NitrokeyManager.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/NitrokeyManager.cc b/NitrokeyManager.cc
index 4b7f591..356fde3 100644
--- a/NitrokeyManager.cc
+++ b/NitrokeyManager.cc
@@ -196,12 +196,12 @@ namespace nitrokey{
const char * NitrokeyManager::get_totp_slot_name(uint8_t slot_number) {
assert(is_valid_totp_slot_number(slot_number));
slot_number = get_internal_slot_number_for_totp(slot_number);
- return (const char *) get_slot_name(slot_number);
+ return get_slot_name(slot_number);
}
const char * NitrokeyManager::get_hotp_slot_name(uint8_t slot_number) {
assert(is_valid_hotp_slot_number(slot_number));
slot_number = get_internal_slot_number_for_hotp(slot_number);
- return (const char *) get_slot_name(slot_number);
+ return get_slot_name(slot_number);
}
const char * NitrokeyManager::get_slot_name(uint8_t slot_number) {