summaryrefslogtreecommitdiff
path: root/otk/surface.cc
diff options
context:
space:
mode:
Diffstat (limited to 'otk/surface.cc')
-rw-r--r--otk/surface.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/otk/surface.cc b/otk/surface.cc
index aabbf85a..60e6824c 100644
--- a/otk/surface.cc
+++ b/otk/surface.cc
@@ -39,8 +39,8 @@ void Surface::setPixmap(const RenderColor &color)
void Surface::setPixmap(XImage *image)
{
- assert((unsigned)image->width == _size.width());
- assert((unsigned)image->height == _size.height());
+ assert(image->width == _size.width());
+ assert(image->height == _size.height());
if (_pixmap == None)
createObjects();