Created
February 24, 2017 21:39
-
-
Save adsr/3a5848a402e8a6e4adb53b18e12892fe to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/oauth.c b/oauth.c | |
| index 62522bd..198e2cb 100644 | |
| --- a/oauth.c | |
| +++ b/oauth.c | |
| @@ -367,22 +367,22 @@ static int oauth_strcmp(zval *first, zval *second) | |
| } else if (result > 0) { | |
| return 1; | |
| } | |
| return 0; | |
| } | |
| static int oauth_compare_value(const void *a, const void *b) | |
| { | |
| Bucket *f, *s; | |
| - f = *(Bucket **)a; | |
| - s = *(Bucket **)b; | |
| + f = (Bucket *)a; | |
| + s = (Bucket *)b; | |
| return oauth_strcmp(&f->val, &s->val); | |
| } | |
| static int oauth_compare_key(const void *a, const void *b) | |
| { | |
| zval first, second; | |
| int result; | |
| Bucket *f, *s; | |
| f = (Bucket *) a; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment