summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY1
-rw-r--r--menu.cpp6
2 files changed, 4 insertions, 3 deletions
diff --git a/HISTORY b/HISTORY
index e62e5ec..5bc5425 100644
--- a/HISTORY
+++ b/HISTORY
@@ -26,3 +26,4 @@ VDR plug-in 'Sudoku' Revision History
____-__-__: Version _._._
- Added gettext support (VDR >= 1.5.7).
+- Fixed compiler warnings with gcc-4.1.2.
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();
}
}