projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
configure: fix libbrotli check
[m6w6/ext-http]
/
src
/
php_http_negotiate.c
diff --git
a/src/php_http_negotiate.c
b/src/php_http_negotiate.c
index cd09d3740f6dc8e293b72b3dbb742b096cca58ca..3a5548ea0de0b35d9b54e5d616d652a4e920da7d 100644
(file)
--- a/
src/php_http_negotiate.c
+++ b/
src/php_http_negotiate.c
@@
-16,9
+16,8
@@
# define PHP_HTTP_DEBUG_NEG 0
#endif
# define PHP_HTTP_DEBUG_NEG 0
#endif
-static int php_http_negotiate_sort(
const void *first, const void *second
)
+static int php_http_negotiate_sort(
Bucket *b1, Bucket *b2
)
{
{
- Bucket *b1 = (Bucket *) first, *b2 = (Bucket *) second;
int result = numeric_compare_function(&b1->val, &b2->val);
return (result > 0 ? -1 : (result < 0 ? 1 : 0));
int result = numeric_compare_function(&b1->val, &b2->val);
return (result > 0 ? -1 : (result < 0 ? 1 : 0));