]> git.sesse.net Git - mlt/commitdiff
Fix compile error on Windows.
authorDan Dennedy <dan@dennedy.org>
Mon, 17 Feb 2014 15:58:09 +0000 (07:58 -0800)
committerDan Dennedy <dan@dennedy.org>
Mon, 17 Feb 2014 15:58:09 +0000 (07:58 -0800)
src/modules/decklink/common.cpp

index 34665f51926df7f647dac265e603e30f6ab78448..144bc9f50b0e7035fc0f5ca6bc95c6e0000db6e8 100644 (file)
@@ -131,5 +131,5 @@ void swab2( const void *from, void *to, int n )
        to = (unsigned char*) to + n - (n % SWAB_STEP);
        n = (n % SWAB_STEP);
 #endif
        to = (unsigned char*) to + n - (n % SWAB_STEP);
        n = (n % SWAB_STEP);
 #endif
-       swab(from, to, n);
+       swab((char*) from, (char*) to, n);
 };
 };