---
 include/ffnvcodec/dynlink_loader.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/ffnvcodec/dynlink_loader.h 
b/include/ffnvcodec/dynlink_loader.h
index 352a0c8..3b0a284 100644
--- a/include/ffnvcodec/dynlink_loader.h
+++ b/include/ffnvcodec/dynlink_loader.h
@@ -114,7 +114,7 @@
                                              \
     n##_free_functions(functions);           \
                                              \
-    f = *functions = calloc(1, sizeof(*f));  \
+    f = *functions = (T*)calloc(1, sizeof(*f));  \
     if (!f)                                  \
         return -1;                           \
                                              \
-- 
2.14.3 (Apple Git-98)

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to