aboutsummaryrefslogtreecommitdiff
path: root/src/node_http_parser.cc
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2010-06-06 17:41:03 -0700
committerRyan Dahl <ry@tinyclouds.org>2010-06-06 17:41:03 -0700
commit9be6c501ecf3d9432bdfca18a1b007ef4868ef5f (patch)
treeecf5f30be6766b65d1d6ff5ca60628f558b86d0b /src/node_http_parser.cc
parent935f8437fd375270a0c12a106ad5b0f64da93e01 (diff)
downloadandroid-node-v8-9be6c501ecf3d9432bdfca18a1b007ef4868ef5f.tar.gz
android-node-v8-9be6c501ecf3d9432bdfca18a1b007ef4868ef5f.tar.bz2
android-node-v8-9be6c501ecf3d9432bdfca18a1b007ef4868ef5f.zip
Upgrade http-parser
Diffstat (limited to 'src/node_http_parser.cc')
-rw-r--r--src/node_http_parser.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_http_parser.cc b/src/node_http_parser.cc
index 29423c0333..ac25570e6b 100644
--- a/src/node_http_parser.cc
+++ b/src/node_http_parser.cc
@@ -102,7 +102,7 @@ static struct http_parser_settings settings;
static inline Persistent<String>
-method_to_str(enum http_method m) {
+method_to_str(unsigned short m) {
switch (m) {
case HTTP_DELETE: return delete_sym;
case HTTP_GET: return get_sym;