projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- ditch warnings
[m6w6/ext-http]
/
php_http_cache_api.h
diff --git
a/php_http_cache_api.h
b/php_http_cache_api.h
index be59f5702c82317b8e29103d2a07f9b8de7b168b..b8120891239810c9136b9c2e79c308f17b25e311 100644
(file)
--- a/
php_http_cache_api.h
+++ b/
php_http_cache_api.h
@@
-86,7
+86,7
@@
static inline void *_http_etag_init(TSRMLS_D)
#ifdef HAVE_LIBMHASH
default:
#ifdef HAVE_LIBMHASH
default:
- if ((mode < 0) || (mode > mhash_count()) || (!(ctx = mhash_init(mode)))) {
+ if ((mode < 0) || (
(ulong)
mode > mhash_count()) || (!(ctx = mhash_init(mode)))) {
http_error_ex(HE_ERROR, HE_RUNTIME, "Invalid ETag mode: %ld", mode);
}
break;
http_error_ex(HE_ERROR, HE_RUNTIME, "Invalid ETag mode: %ld", mode);
}
break;