diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-08-29 12:36:45 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-08-29 12:36:45 -0700 |
commit | 284f146e97acaf2b300674539004a6e573a5a0df (patch) | |
tree | e417ecf143f9620c515e6953bb7651f6e5b16dd2 /ext | |
parent | 8197825dbeebcaf7da963b75ee8a012e52483f96 (diff) | |
download | unicorn-284f146e97acaf2b300674539004a6e573a5a0df.tar.gz |
neither buffer nor p should be const (since we modify buffer in $snake_upcase_char), but this is a much smaller change _for now_
Diffstat (limited to 'ext')
-rw-r--r-- | ext/unicorn_http/unicorn_http.rl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/unicorn_http/unicorn_http.rl b/ext/unicorn_http/unicorn_http.rl index 2d829e9..8cdcbe2 100644 --- a/ext/unicorn_http/unicorn_http.rl +++ b/ext/unicorn_http/unicorn_http.rl @@ -104,7 +104,7 @@ static void write_cont_value(struct http_parser *hp, if (RSTRING_LEN(hp->cont) > 0) --hp->mark; - vptr = PTR_TO(mark); + vptr = (char *)PTR_TO(mark); if (RSTRING_LEN(hp->cont) > 0) { assert(' ' == *vptr || '\t' == *vptr); |