[FFmpeg-devel] [PATCH] avutil/tests/random_seed: seeds[] is uint32_t, therefore use PRIX32 macro

Michael Niedermayer michael at niedermayer.cc
Sun Dec 16 03:34:09 EET 2018


On Sat, Dec 15, 2018 at 01:07:18PM +1100, Peter Ross wrote:
> squelch format type warning
> ---
>  libavutil/tests/random_seed.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libavutil/tests/random_seed.c b/libavutil/tests/random_seed.c
> index 78067dbe41..bf0c6c7986 100644
> --- a/libavutil/tests/random_seed.c
> +++ b/libavutil/tests/random_seed.c
> @@ -47,7 +47,7 @@ int main(void)
>              retry:;
>          }
>          if (retry >= 3) {
> -            printf("rsf %d: FAIL at %d with %X\n", rsf, j, seeds[j]);
> +            printf("rsf %d: FAIL at %d with %"PRIX32"\n", rsf, j, seeds[j]);
>              return 1;

should do no harm ...
LGTM

thx

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Opposition brings concord. Out of discord comes the fairest harmony.
-- Heraclitus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20181216/29058927/attachment.sig>


More information about the ffmpeg-devel mailing list