http: -Wshorten-64-to-32 warnings on clang
commit6f0236fff6c1026562479a42228b30a5e5d95bba
authorEric Wong <e@80x24.org>
Wed, 28 Jan 2015 18:39:41 +0000 (28 18:39 +0000)
committerEric Wong <e@80x24.org>
Wed, 28 Jan 2015 18:40:59 +0000 (28 18:40 +0000)
treefcb863a98aa461993c4a7b147e075cb72d698c59
parentf0f405ef6761b57da48f2cfd0096df98116fb7bb
http: -Wshorten-64-to-32 warnings on clang

Tested on x86_64, clang version 3.5-1ubuntu1 (trunk) (LLVM 3.5)
These warnings were introduced on
commit 4b2782a926d8f131b1e7382be35e3abb77bf4be5
("http: reduce parser from 72 to 56 bytes on 64-bit")
and did not affect any releases.

These length checks should not be necessary in reality because
HTTP header sizes never come close to 4GB in size.

Fixup a minor coding style (inherited from Mongrel) violation
while we're at it (tabs => spaces).
ext/unicorn_http/unicorn_http.rl