Commit 1210dd8a authored by shenlongxing's avatar shenlongxing
Browse files

fix integer case error

parent be899b82
...@@ -1110,7 +1110,7 @@ void configSetCommand(client *c) { ...@@ -1110,7 +1110,7 @@ void configSetCommand(client *c) {
} config_set_numerical_field( } config_set_numerical_field(
"slowlog-max-len",ll,0,LLONG_MAX) { "slowlog-max-len",ll,0,LLONG_MAX) {
/* Cast to unsigned. */ /* Cast to unsigned. */
server.slowlog_max_len = (unsigned)ll; server.slowlog_max_len = (unsigned long)ll;
} config_set_numerical_field( } config_set_numerical_field(
"latency-monitor-threshold",server.latency_monitor_threshold,0,LLONG_MAX){ "latency-monitor-threshold",server.latency_monitor_threshold,0,LLONG_MAX){
} config_set_numerical_field( } config_set_numerical_field(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment