diff options
author | Anssi Hannula <anssi.hannula@iki.fi> | 2010-08-27 10:58:26 +0300 |
---|---|---|
committer | Ville Skyttä <ville.skytta@iki.fi> | 2010-08-27 11:00:31 +0300 |
commit | fe9316caba3d62ccfffbb2e8e086e5995b421c98 (patch) | |
tree | 9f8be8e4ce686434e400a04bfde7dc3c23356c1c /bitmap.c | |
parent | 93a09db826ca19e3ccf120a265f8f74c8e905005 (diff) | |
download | vdr-plugin-text2skin-fe9316caba3d62ccfffbb2e8e086e5995b421c98.tar.gz vdr-plugin-text2skin-fe9316caba3d62ccfffbb2e8e086e5995b421c98.tar.bz2 |
Fix build with ImageMagick >= 6.6.2 (closes #409).
Diffstat (limited to 'bitmap.c')
-rw-r--r-- | bitmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -187,7 +187,7 @@ bool cText2SkinBitmap::LoadNonXpm(const char *Filename, int height, int width, i return false; } */ - bmp = new cBitmap(w, h, std::min((*it).depth(), 8U)); + bmp = new cBitmap(w, h, std::min(size_t((*it).depth()), size_t(8))); //Dprintf("this image has %d colors\n", (*it).totalColors()); const PixelPacket *pix = (*it).getConstPixels(0, 0, w, h); |