projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- improve config.m4
[m6w6/ext-http]
/
php_http_cache_api.h
diff --git
a/php_http_cache_api.h
b/php_http_cache_api.h
index f92e30aac7c13075341afe95b59eb3a9fdaf8441..3e882c9e2fd57b6a688ce9554b72d6e79dc93f49 100644
(file)
--- a/
php_http_cache_api.h
+++ b/
php_http_cache_api.h
@@
-140,14
+140,14
@@
static inline void _http_etag_update(void *ctx, const char *data_ptr, size_t dat
switch (INI_INT("http.etag_mode"))
{
case HTTP_ETAG_SHA1:
switch (INI_INT("http.etag_mode"))
{
case HTTP_ETAG_SHA1:
- PHP_SHA1Update(ctx, data_ptr, data_len);
+ PHP_SHA1Update(ctx,
(const unsigned char *)
data_ptr, data_len);
break;
case HTTP_ETAG_MD5:
#ifndef HAVE_LIBMHASH
default:
#endif
break;
case HTTP_ETAG_MD5:
#ifndef HAVE_LIBMHASH
default:
#endif
- PHP_MD5Update(ctx, data_ptr, data_len);
+ PHP_MD5Update(ctx,
(const unsigned char *)
data_ptr, data_len);
break;
#ifdef HAVE_LIBMHASH
break;
#ifdef HAVE_LIBMHASH