summaryrefslogtreecommitdiff
path: root/NitrokeyManager.cc
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2016-08-09 13:27:00 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2016-08-09 18:34:00 +0200
commit3ea8e90657d8d36ba860dcfdc0e9bf615b3aa3b6 (patch)
tree5bdc86f42eaf25dac8c1f2fec776f944fdde565c /NitrokeyManager.cc
parentbcfc7f44632717855ed75a3e643278a3ddee7309 (diff)
downloadlibnitrokey-3ea8e90657d8d36ba860dcfdc0e9bf615b3aa3b6.tar.gz
libnitrokey-3ea8e90657d8d36ba860dcfdc0e9bf615b3aa3b6.tar.bz2
Remove redundant cast
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
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) {