summaryrefslogtreecommitdiff
path: root/pack.c
diff options
context:
space:
mode:
Diffstat (limited to 'pack.c')
-rw-r--r--pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pack.c b/pack.c
index 38e970cad1..1a4f645396 100644
--- a/pack.c
+++ b/pack.c
@@ -798,7 +798,7 @@ pack_pack(ary, fmt)
l = NUM2ULONG(from);
}
le = uv_to_utf8(buf, l);
- rb_str_cat(res, (char*)&buf, le);
+ rb_str_cat(res, (char*)buf, le);
}
break;