aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGanesh Ajjanagadde <gajjanagadde@gmail.com>2015-10-25 12:41:48 -0400
committerGanesh Ajjanagadde <gajjanagadde@gmail.com>2015-10-25 12:45:10 -0400
commitbbd6bc6bd0889627a3bd70e14005664e06d466bc (patch)
tree113996a1a7a06dd21a24e3e0746cdfe750b9e1e1
parent6498b34bba8cf6bde4d7a9c9ea045ae1b8be106e (diff)
downloadffmpeg-bbd6bc6bd0889627a3bd70e14005664e06d466bc.tar.gz
avutil/tree: clean up pointer incompatibility warnings
Commit 7c8fcbbde3a299096974f9061c8b5be0e526f4c2 introduced some warnings that get triggered on the test build. This should fix them. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
-rw-r--r--libavutil/tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavutil/tree.c b/libavutil/tree.c
index 0a69ea9fc4..2495cdf3c6 100644
--- a/libavutil/tree.c
+++ b/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)