avutil/tree: clean up pointer incompatibility warnings

Commit 7c8fcbbde3 introduced some warnings
that get triggered on the test build. This should fix them.

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
This commit is contained in:
Ganesh Ajjanagadde 2015-10-25 12:41:48 -04:00
parent 6498b34bba
commit bbd6bc6bd0
1 changed files with 2 additions and 2 deletions

View File

@ -202,9 +202,9 @@ static void print(AVTreeNode *t, int depth)
av_log(NULL, AV_LOG_ERROR, "NULL\n");
}
static int cmp(void *a, const void *b)
static int cmp(const void *a, const void *b)
{
return (uint8_t *) a - (const uint8_t *) b;
return (const uint8_t *) a - (const uint8_t *) b;
}
int main(int argc, char **argv)