summaryrefslogtreecommitdiff
path: root/osdbase.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2003-08-15 13:50:08 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2003-08-15 13:50:08 +0200
commit7a3c2df2f49012a801730cf55266c788d87311fd (patch)
treef8bc189b6610e44edff85c7d5decf1d26e116fc8 /osdbase.c
parent26ffdd1c8361f714fff78fd746f209f386e6b997 (diff)
downloadvdr-7a3c2df2f49012a801730cf55266c788d87311fd.tar.gz
vdr-7a3c2df2f49012a801730cf55266c788d87311fd.tar.bz2
Fixed two warnings when compiling with gcc 3.3.1
Diffstat (limited to 'osdbase.c')
-rw-r--r--osdbase.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/osdbase.c b/osdbase.c
index 8093b96a..0c0e8981 100644
--- a/osdbase.c
+++ b/osdbase.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: osdbase.c 1.8 2003/03/23 15:53:29 kls Exp $
+ * $Id: osdbase.c 1.9 2003/08/15 13:47:51 kls Exp $
*/
#include "osdbase.h"
@@ -215,7 +215,7 @@ void cBitmap::SetBitmap(int x, int y, const cBitmap &Bitmap)
Take(Bitmap, &Indexes);
for (int ix = 0; ix < Bitmap.width; ix++) {
for (int iy = 0; iy < Bitmap.height; iy++)
- SetIndex(x + ix, y + iy, Indexes[Bitmap.bitmap[Bitmap.width * iy + ix]]);
+ SetIndex(x + ix, y + iy, Indexes[int(Bitmap.bitmap[Bitmap.width * iy + ix])]);
}
}
}