Browse Source

lavu/utils: silence warnings about incompatible pointer types

Signed-off-by: Paul B Mahol <onemda@gmail.com>
tags/n2.0
Paul B Mahol 12 years ago
parent
commit
8a79a009f9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavutil/utils.c

+ 1
- 1
libavutil/utils.c View File

@@ -99,7 +99,7 @@ unsigned av_int_list_length_for_size(unsigned elsize,
if (!list)
return 0;
#define LIST_LENGTH(type) \
{ type t = term, *l = list; for (i = 0; l[i] != t; i++); }
{ type t = term, *l = (type *)list; for (i = 0; l[i] != t; i++); }
switch (elsize) {
case 1: LIST_LENGTH(uint8_t); break;
case 2: LIST_LENGTH(uint16_t); break;


Loading…
Cancel
Save