Skip to content

Commit 02a432f

Browse files
Trying to figure out compile issue
1 parent 35fb8bb commit 02a432f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/hyper_ruby/src/request.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ impl Request {
5353
let inner: VALUE = std::ptr::read(&rb_value as *const _ as *const VALUE);
5454
rb_str_resize(inner, 0);
5555
if body_len > 0 {
56-
rb_str_cat(inner, body.as_ptr() as *const i8, body.len().try_into().unwrap());
56+
rb_str_cat(inner, body.as_ptr(), body.len().try_into().unwrap());
5757
}
5858
}
5959

0 commit comments

Comments
 (0)