mirror of
https://github.com/ceph/ceph
synced 2024-12-18 01:16:55 +00:00
cls_rgw: fix warning
cls/rgw/cls_rgw.cc: In function 'int get_obj_vals(cls_method_context_t, const string&, const string&, int, std::map, ceph::buffer::list>*)': warning: cls/rgw/cls_rgw.cc:175:28: narrowing conversion of '129' from 'int' to 'char' inside { } is ill-formed in C++11 [-Wnarrowing] on arm7l Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
parent
9baa66801a
commit
bc3088c92f
@ -172,7 +172,7 @@ static int get_obj_vals(cls_method_context_t hctx, const string& start, const st
|
||||
return 0;
|
||||
|
||||
map<string, bufferlist> new_keys;
|
||||
char c[] = { BI_PREFIX_CHAR + 1, 0 };
|
||||
char c[] = { (char)(BI_PREFIX_CHAR + 1), 0 };
|
||||
string new_start = c;
|
||||
|
||||
/* now get some more keys */
|
||||
|
Loading…
Reference in New Issue
Block a user