diff options
author | Thomas Günther <tom@toms-cafe.de> | 2007-12-03 23:26:42 +0100 |
---|---|---|
committer | Thomas Günther <tom@toms-cafe.de> | 2007-12-03 23:26:42 +0100 |
commit | d6e331395fe7b89be19fdda0f410f2750d03b4a5 (patch) | |
tree | 380dbd262a03e26620fe54f18f250c0921aab428 /menu.cpp | |
parent | 4d21e602d958f69686b649e0c9ed4526485e962e (diff) | |
download | vdr-plugin-sudoku-d6e331395fe7b89be19fdda0f410f2750d03b4a5.tar.gz vdr-plugin-sudoku-d6e331395fe7b89be19fdda0f410f2750d03b4a5.tar.bz2 |
Fixed compiler warnings with gcc-4.1.2
Diffstat (limited to 'menu.cpp')
-rw-r--r-- | menu.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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(); } } |