changeset 6229:3b049f067bdd libavformat

Fix warning "passing argument from incompatible pointer type". Patch by Eli Friedman, eli d friedman a gmail
author cehoyos
date Sat, 03 Jul 2010 10:25:32 +0000
parents 322e7096671d
children fceb0e489495
files nutdec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/nutdec.c	Sat Jul 03 03:15:37 2010 +0000
+++ b/nutdec.c	Sat Jul 03 10:25:32 2010 +0000
@@ -95,7 +95,7 @@
 //    start= url_ftell(bc) - 8;
 
     startcode= be2me_64(startcode);
-    startcode= ff_crc04C11DB7_update(0, &startcode, 8);
+    startcode= ff_crc04C11DB7_update(0, (uint8_t*)&startcode, 8);
 
     init_checksum(bc, ff_crc04C11DB7_update, startcode);
     size= ff_get_v(bc);