diff options
Diffstat (limited to 'libglusterfs/src/stack.c')
| -rw-r--r-- | libglusterfs/src/stack.c | 5 | 
1 files changed, 3 insertions, 2 deletions
diff --git a/libglusterfs/src/stack.c b/libglusterfs/src/stack.c index 1579e097457..5349eaa0b01 100644 --- a/libglusterfs/src/stack.c +++ b/libglusterfs/src/stack.c @@ -103,7 +103,8 @@ gf_proc_dump_call_stack (call_stack_t *call_stack, const char *key_buf,...)          gf_proc_dump_write("lk-owner", "%s", lkowner_utoa (&call_stack->lk_owner));          if (call_stack->type == GF_OP_TYPE_FOP) -                gf_proc_dump_write("op", "%s", gf_fop_list[call_stack->op]); +                gf_proc_dump_write("op", "%s", +                                   (char *)gf_fop_list[call_stack->op]);          else                  gf_proc_dump_write("op", "stack"); @@ -277,7 +278,7 @@ gf_proc_dump_call_stack_to_dict (call_stack_t *call_stack,          snprintf (key, sizeof (key), "%s.op", prefix);          if (call_stack->type == GF_OP_TYPE_FOP)                  ret = dict_set_str (dict, key, -                                    gf_fop_list[call_stack->op]); +                                    (char *)gf_fop_list[call_stack->op]);          else                  ret = dict_set_str (dict, key, "other");  | 
