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>
pull/155/head
Ganesh Ajjanagadde 9 years ago
parent 6498b34bba
commit bbd6bc6bd0
  1. 4
      libavutil/tree.c

@ -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)

Loading…
Cancel
Save