Commit bbd6bc6b authored by Ganesh Ajjanagadde's avatar Ganesh Ajjanagadde

avutil/tree: clean up pointer incompatibility warnings

Commit 7c8fcbbd introduced some warnings
that get triggered on the test build. This should fix them.
Signed-off-by: 's avatarGanesh Ajjanagadde <gajjanagadde@gmail.com>
parent 6498b34b
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment