ffmpeg | branch: master | Ganesh Ajjanagadde <[email protected]> | Sun Oct 25 12:41:48 2015 -0400| [bbd6bc6bd0889627a3bd70e14005664e06d466bc] | committer: Ganesh Ajjanagadde
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 <[email protected]> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bbd6bc6bd0889627a3bd70e14005664e06d466bc --- libavutil/tree.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavutil/tree.c b/libavutil/tree.c index 0a69ea9..2495cdf 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) _______________________________________________ ffmpeg-cvslog mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog
