summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NitrokeyManager.cc2
-rw-r--r--include/NitrokeyManager.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/NitrokeyManager.cc b/NitrokeyManager.cc
index 176f516..20d1a98 100644
--- a/NitrokeyManager.cc
+++ b/NitrokeyManager.cc
@@ -787,7 +787,7 @@ namespace nitrokey{
misc::execute_password_command<stick20::DisableHiddenEncryptedPartition>(device, "");
}
- int NitrokeyManager::get_SD_card_size() {
+ uint8_t NitrokeyManager::get_SD_card_size() {
auto data = stick20::ProductionTest::CommandTransaction::run(device);
return data.data().SD_Card_Size_u8;
}
diff --git a/include/NitrokeyManager.h b/include/NitrokeyManager.h
index 2200955..7cf55c7 100644
--- a/include/NitrokeyManager.h
+++ b/include/NitrokeyManager.h
@@ -106,7 +106,7 @@ namespace nitrokey {
void fill_SD_card_with_random_data(const char *admin_pin);
- int get_SD_card_size();
+ uint8_t get_SD_card_size();
void change_update_password(const char *current_update_password, const char *new_update_password);