Some fixes to avoid compiler warnings in gcc 4.0

This commit is contained in:
Klaus Schmidinger
2005-03-20 10:10:38 +01:00
parent 86a9d179bd
commit e760b14f64
6 changed files with 19 additions and 9 deletions

3
font.h
View File

@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: font.h 1.10 2005/01/14 13:25:35 kls Exp $
* $Id: font.h 1.11 2005/03/19 15:51:19 kls Exp $
*/
#ifndef __FONT_H
@@ -44,6 +44,7 @@ private:
int height;
public:
cFont(void *Data);
virtual ~cFont() {}
void SetData(void *Data);
virtual int Width(unsigned char c) const { return data[c]->width; }
///< Returns the width of the given character.