From: aflinta Date: Sun, 13 Oct 2002 11:34:28 +0000 (+0000) Subject: - fixes compilation errors with gcc 3.2 (stolen from MDK) X-Git-Tag: RA-1_0~6 X-Git-Url: https://git.pld-linux.org/?a=commitdiff_plain;h=7565c98f0c23ba4a7c8c260e43a9d368600709f4;p=packages%2Favifile.git - fixes compilation errors with gcc 3.2 (stolen from MDK) Changed files: avifile-compilation.patch -> 1.1 --- diff --git a/avifile-compilation.patch b/avifile-compilation.patch new file mode 100644 index 0000000..52bf122 --- /dev/null +++ b/avifile-compilation.patch @@ -0,0 +1,11 @@ +--- lib/video/renderer.cpp~ 2002-09-12 14:52:51.000000000 -0400 ++++ lib/video/renderer.cpp 2002-09-23 17:27:44.000000000 -0400 +@@ -2169,7 +2169,7 @@ + Unlock(); + delete m_pXvRtConfig; + } +- virtual IRtConfig* GetRtConfig() const { return m_pXvRtConfig ? m_pXvRtConfig : m_pSdlgRtConfig; } ++ virtual IRtConfig* GetRtConfig() const { return m_pXvRtConfig ? (IRtConfig*) m_pXvRtConfig : (IRtConfig*) m_pSdlgRtConfig; } + virtual uint_t GetImages() const { return ovlist.size(); } + virtual CImage* ImageAlloc(const BITMAPINFOHEADER& bh, uint_t idx) + {