From: Dan Dennedy Date: Mon, 17 Feb 2014 15:58:09 +0000 (-0800) Subject: Fix compile error on Windows. X-Git-Url: https://git.sesse.net/?p=mlt;a=commitdiff_plain;h=11ceb3a29fd27c05bfac2b05463eff1790309a81 Fix compile error on Windows. --- diff --git a/src/modules/decklink/common.cpp b/src/modules/decklink/common.cpp index 34665f51..144bc9f5 100644 --- a/src/modules/decklink/common.cpp +++ b/src/modules/decklink/common.cpp @@ -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 - swab(from, to, n); + swab((char*) from, (char*) to, n); };