From b8e876b3143682be4d25ec0ad1dd1d6ae63edaf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Banaan=20Ananas?= Date: Sun, 1 Jan 2012 14:58:19 +0000 Subject: [PATCH] fix clip regression --- src/lib/util/bitmap.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/util/bitmap.h b/src/lib/util/bitmap.h index 7fcff3fff0f..e1e4abe5398 100644 --- a/src/lib/util/bitmap.h +++ b/src/lib/util/bitmap.h @@ -131,10 +131,10 @@ public: ~bitmap_t(); // getters - UINT32 width() const { return m_width; } - UINT32 height() const { return m_height; } - UINT32 rowpixels() const { return m_rowpixels; } - UINT32 rowbytes() const { return m_rowpixels * m_bpp / 8; } + INT32 width() const { return m_width; } + INT32 height() const { return m_height; } + INT32 rowpixels() const { return m_rowpixels; } + INT32 rowbytes() const { return m_rowpixels * m_bpp / 8; } UINT8 bpp() const { return m_bpp; } bitmap_format format() const { return m_format; } palette_t *palette() const { return m_palette; }