diff options
author | Steve L'Homme <slhomme@divxcorp.com> | 2006-11-01 22:39:58 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2006-11-01 22:39:58 +0000 |
commit | 949b1a13bf4434ade235fdcd783c5fe0d27c0c3b (patch) | |
tree | 78e083fd51f0f9cbf88b86cc2422616608c17c35 /libavutil/md5.c | |
parent | 523fc7c17ddd0b4e31b9fb590483ac4c34e0b5f8 (diff) | |
download | ffmpeg-949b1a13bf4434ade235fdcd783c5fe0d27c0c3b.tar.gz |
Replace most of the %lld and %llx by their (cleaner) PRI*64 counterparts.
patch by Steve Lhomme, slhomme divxcorp com
Originally committed as revision 6868 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/md5.c')
-rw-r--r-- | libavutil/md5.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libavutil/md5.c b/libavutil/md5.c index 3f116d36cc..d33ad14830 100644 --- a/libavutil/md5.c +++ b/libavutil/md5.c @@ -176,11 +176,11 @@ main(){ uint8_t in[1000]; for(i=0; i<1000; i++) in[i]= i*i; - av_md5_sum( (uint8_t*)&md5val, in, 1000); printf("%lld\n", md5val); - av_md5_sum( (uint8_t*)&md5val, in, 63); printf("%lld\n", md5val); - av_md5_sum( (uint8_t*)&md5val, in, 64); printf("%lld\n", md5val); - av_md5_sum( (uint8_t*)&md5val, in, 65); printf("%lld\n", md5val); + av_md5_sum( (uint8_t*)&md5val, in, 1000); printf("%"PRId64"\n", md5val); + av_md5_sum( (uint8_t*)&md5val, in, 63); printf("%"PRId64"\n", md5val); + av_md5_sum( (uint8_t*)&md5val, in, 64); printf("%"PRId64"\n", md5val); + av_md5_sum( (uint8_t*)&md5val, in, 65); printf("%"PRId64"\n", md5val); for(i=0; i<1000; i++) in[i]= i % 127; - av_md5_sum( (uint8_t*)&md5val, in, 999); printf("%lld\n", md5val); + av_md5_sum( (uint8_t*)&md5val, in, 999); printf("%"PRId64"\n", md5val); } #endif |