diff options
Diffstat (limited to 'storage/spider/hs_client/config.cpp')
-rw-r--r-- | storage/spider/hs_client/config.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/spider/hs_client/config.cpp b/storage/spider/hs_client/config.cpp index 3bf0f3e5bdf..97d479220e0 100644 --- a/storage/spider/hs_client/config.cpp +++ b/storage/spider/hs_client/config.cpp @@ -3,7 +3,7 @@ /* * Copyright (C) 2010-2011 DeNA Co.,Ltd.. All rights reserved. - * Copyright (C) 2011 Kentoku SHIBA + * Copyright (C) 2011-2017 Kentoku SHIBA * See COPYRIGHT.txt for details. */ @@ -264,7 +264,7 @@ parse_args(int argc, char **argv, config& conf) if (!(param = new conf_param())) continue; uint32 key_len = (uint32)(eq - arg); - uint32 val_len = (uint32)(strlen(eq + 1)); + uint32 val_len = strlen(eq + 1); if ( param->key.reserve(key_len + 1) || param->val.reserve(val_len + 1) |