projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- fix refelction info for some methods of HttpRequest
[m6w6/ext-http]
/
http_message_api.c
diff --git
a/http_message_api.c
b/http_message_api.c
index 47cd1ddd2bf28d3b5d3e33fa28338f6e944d7f7d..b1194645ecc87caae8d33ab0f68e866e7fb1d0be 100644
(file)
--- a/
http_message_api.c
+++ b/
http_message_api.c
@@
-18,8
+18,8
@@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
-
#include "php.h"
#include "php.h"
+
#include "php_http.h"
#include "php_http_std_defs.h"
#include "php_http_api.h"
#include "php_http.h"
#include "php_http_std_defs.h"
#include "php_http_api.h"
@@
-190,7
+190,7
@@
PHP_HTTP_API http_message *_http_message_parse_ex(http_message *msg, const char
zval *len;
char *tmp;
zval *len;
char *tmp;
- spprintf(&tmp, 0, "%lu", decoded_len);
+ spprintf(&tmp, 0, "%lu",
(ulong)
decoded_len);
MAKE_STD_ZVAL(len);
ZVAL_STRING(len, tmp, 0);
MAKE_STD_ZVAL(len);
ZVAL_STRING(len, tmp, 0);