From 329d8ef9bff59cd383e275f4e6f22b885e70f705 Mon Sep 17 00:00:00 2001
From: Rodrigo Braz Monteiro <zeratul@cellosoft.com>
Date: Wed, 26 Nov 2008 02:24:37 +0000
Subject: [PATCH] Fixed jfs's borkage. (wouldn't compile on VC++)

Originally committed to SVN as r2493.
---
 aegisub/video_provider_ffmpegsource.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/aegisub/video_provider_ffmpegsource.cpp b/aegisub/video_provider_ffmpegsource.cpp
index 5578e620b..823292af6 100644
--- a/aegisub/video_provider_ffmpegsource.cpp
+++ b/aegisub/video_provider_ffmpegsource.cpp
@@ -219,7 +219,7 @@ const AegiVideoFrame FFmpegSourceVideoProvider::GetFrame(int _n, int FormatType)
 	// this is what we'll return eventually
 	AegiVideoFrame &DstFrame = CurFrame;
 	
-	bool big_endian = Endian::BigToMachine((int)1)==(int)1;
+	bool big_endian = Endian::BigToMachine((unsigned int)1)==(unsigned int)1;
 
 	// choose output format
 	if (FormatType & FORMAT_RGB32 && big_endian) {
-- 
GitLab