summaryrefslogtreecommitdiff
path: root/game.c
diff options
context:
space:
mode:
authorThomas Günther <tom@toms-cafe.de>2007-06-20 18:14:45 +0200
committerThomas Günther <tom@toms-cafe.de>2007-06-20 18:14:45 +0200
commitaf7468ba36cde18612471532047afbf3143a39e2 (patch)
treea54dbd5b70d4936f58fd8a2550bf27e8a542707a /game.c
parentf27a07d156ed203d4ccaeb3e1a5a6ccb53146b77 (diff)
downloadvdr-plugin-spider-af7468ba36cde18612471532047afbf3143a39e2.tar.gz
vdr-plugin-spider-af7468ba36cde18612471532047afbf3143a39e2.tar.bz2
Fixed compiler warnings with gcc-4.1.2
Diffstat (limited to 'game.c')
-rw-r--r--game.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/game.c b/game.c
index 3e59ea5..19c8959 100644
--- a/game.c
+++ b/game.c
@@ -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();
}