summaryrefslogtreecommitdiff
path: root/include/stick10_commands.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/stick10_commands.h')
-rw-r--r--include/stick10_commands.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/stick10_commands.h b/include/stick10_commands.h
index 16448b0..d88c36b 100644
--- a/include/stick10_commands.h
+++ b/include/stick10_commands.h
@@ -342,9 +342,8 @@ class GetUserPasswordRetryCount
template <typename T, typename Q, int N>
void write_array(T &ss, Q (&arr)[N]){
- ss << std::hex << std::setfill('0') << std::setw(2);
for (int i=0; i<N; i++){
- ss << arr[i] << " ";
+ ss << std::hex << std::setfill('0') << std::setw(2) << (int)arr[i] << " ";
}
ss << std::endl;
};