From d6e331395fe7b89be19fdda0f410f2750d03b4a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=BCnther?= Date: Mon, 3 Dec 2007 23:26:42 +0100 Subject: Fixed compiler warnings with gcc-4.1.2 --- menu.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'menu.cpp') diff --git a/menu.cpp b/menu.cpp index 31d299c..6ba1075 100644 --- a/menu.cpp +++ b/menu.cpp @@ -3,7 +3,7 @@ * * See the README file for copyright information and how to reach the author. * - * $Id: menu.cpp 27 2006-04-25 00:08:15Z tom $ + * $Id: menu.cpp 103 2007-12-03 22:26:42Z tom $ */ #include "menu.h" @@ -71,8 +71,8 @@ void Menu::Show() osd = cOsdProvider::NewOsd(0, 0); if (osd) { - tArea areas[] = { x1, y1, x2, y2, 4 }; - osd->SetAreas(areas, 1); + tArea area = { x1, y1, x2, y2, 4 }; + osd->SetAreas(&area, 1); paint(); } } -- cgit v1.2.3