summaryrefslogtreecommitdiff
path: root/src/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/options.cpp')
-rw-r--r--src/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/options.cpp b/src/options.cpp
index 40737af..4700047 100644
--- a/src/options.cpp
+++ b/src/options.cpp
@@ -209,7 +209,7 @@ int32_t Options::parse(int argc, char* argv[])
return i;
}
- ld_kdr_ = ld_kdr_tmp;
+ ld_kdr_ = static_cast<int8_t>(ld_kdr_tmp);
if(cipher_ == "null" && auth_algo_ == "null")
kd_prf_ = "null";