diff options
author | Thomas Günther <tom@toms-cafe.de> | 2007-06-20 18:14:45 +0200 |
---|---|---|
committer | Thomas Günther <tom@toms-cafe.de> | 2007-06-20 18:14:45 +0200 |
commit | af7468ba36cde18612471532047afbf3143a39e2 (patch) | |
tree | a54dbd5b70d4936f58fd8a2550bf27e8a542707a | |
parent | f27a07d156ed203d4ccaeb3e1a5a6ccb53146b77 (diff) | |
download | vdr-plugin-spider-af7468ba36cde18612471532047afbf3143a39e2.tar.gz vdr-plugin-spider-af7468ba36cde18612471532047afbf3143a39e2.tar.bz2 |
Fixed compiler warnings with gcc-4.1.2
-rw-r--r-- | game.c | 6 | ||||
-rw-r--r-- | history.h | 5 |
2 files changed, 7 insertions, 4 deletions
@@ -3,7 +3,7 @@ * * See the README file for copyright information and how to reach the author. * - * $Id: game.c 22 2006-04-24 23:26:30Z tom $ + * $Id: game.c 85 2007-06-20 16:14:45Z tom $ */ #include "game.h" @@ -82,8 +82,8 @@ void SpiderGame::Show() osd = cOsdProvider::NewOsd(0, 0); if (osd) { - tArea areas[] = { xPos, yPos, xPos + width - 1, yPos + height - 1, 4 }; - osd->SetAreas(areas, 1); + tArea area = { xPos, yPos, xPos + width - 1, yPos + height - 1, 4 }; + osd->SetAreas(&area, 1); start(); paint(); } @@ -3,7 +3,7 @@ * * See the README file for copyright information and how to reach the author. * - * $Id: history.h 2 2005-05-14 22:25:56Z tom $ + * $Id: history.h 85 2007-06-20 16:14:45Z tom $ */ #ifndef VDR_SPIDER_HISTORY_H @@ -60,6 +60,9 @@ class Move { public: + /** Destructor */ + virtual ~Move() {}; + /** Do the move */ virtual void execute() = 0; |