From 11ceb3a29fd27c05bfac2b05463eff1790309a81 Mon Sep 17 00:00:00 2001 From: Dan Dennedy Date: Mon, 17 Feb 2014 07:58:09 -0800 Subject: [PATCH] Fix compile error on Windows. --- src/modules/decklink/common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }; -- 2.39.2