Browse Source

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>
tags/n3.0
Ganesh Ajjanagadde 10 years ago
parent
commit
bbd6bc6bd0
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavutil/tree.c

+ 2
- 2
libavutil/tree.c 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)


Loading…
Cancel
Save