summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Günther <tom@toms-cafe.de>2007-12-03 23:26:42 +0100
committerThomas Günther <tom@toms-cafe.de>2007-12-03 23:26:42 +0100
commitd6e331395fe7b89be19fdda0f410f2750d03b4a5 (patch)
tree380dbd262a03e26620fe54f18f250c0921aab428
parent4d21e602d958f69686b649e0c9ed4526485e962e (diff)
downloadvdr-plugin-sudoku-d6e331395fe7b89be19fdda0f410f2750d03b4a5.tar.gz
vdr-plugin-sudoku-d6e331395fe7b89be19fdda0f410f2750d03b4a5.tar.bz2
Fixed compiler warnings with gcc-4.1.2
-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();
}
}