projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76de4ea
)
fixing warning
author
Michael Niedermayer
<michaelni@gmx.at>
Wed, 30 Jan 2008 04:50:09 +0000
(
04:50
+0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 30 Jan 2008 04:50:09 +0000
(
04:50
+0000)
md5.c:150: warning: passing argument 2 of 'av_md5_update' from incompatible pointer type
Originally committed as revision 11665 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavutil/md5.c
patch
|
blob
|
history
diff --git
a/libavutil/md5.c
b/libavutil/md5.c
index
03c09ac
..
ee39de1
100644
(file)
--- a/
libavutil/md5.c
+++ b/
libavutil/md5.c
@@
-147,7
+147,7
@@
void av_md5_final(AVMD5 *ctx, uint8_t *dst){
while((ctx->len & 63)<56)
av_md5_update(ctx, "", 1);
- av_md5_update(ctx, &finalcount, 8);
+ av_md5_update(ctx,
(uint8_t*)
&finalcount, 8);
for(i=0; i<4; i++)
((uint32_t*)dst)[i]= le2me_32(ctx->ABCD[3-i]);