From 22b90a3374a5bd6ad17341e463bbc4463fc0e326 Mon Sep 17 00:00:00 2001 From: Oliver Stöneberg Date: Sat, 31 Jan 2015 23:36:03 +0100 Subject: Revert "fix compile on MSVC 2012 (nw)" This reverts commit 9afc7cdb5b57f6b15125d4d207baa7c61ee50287. --- src/lib/util/bitmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/util/bitmap.c') diff --git a/src/lib/util/bitmap.c b/src/lib/util/bitmap.c index 170e2dd98b7..4d1f8502f50 100644 --- a/src/lib/util/bitmap.c +++ b/src/lib/util/bitmap.c @@ -49,7 +49,7 @@ inline INT32 bitmap_t::compute_rowpixels(int width, int xslop) inline void bitmap_t::compute_base(int xslop, int yslop) { m_base = m_alloc + (m_rowpixels * yslop + xslop) * (m_bpp / 8); - UINT64 aligned_base = ((static_cast(reinterpret_cast(m_base)) + (BITMAP_OVERALL_ALIGN - 1)) / BITMAP_OVERALL_ALIGN) * BITMAP_OVERALL_ALIGN; + UINT64 aligned_base = ((reinterpret_cast(m_base) + (BITMAP_OVERALL_ALIGN - 1)) / BITMAP_OVERALL_ALIGN) * BITMAP_OVERALL_ALIGN; m_base = reinterpret_cast(aligned_base); } -- cgit v1.2.3-70-g09d2