You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-plugins/vdr-pilot/files/vdr-pilot-0.0.9-gcc-4.1.diff

45 lines
1.6 KiB

diff -ru pilot-0.0.9-orig/pilotosd.c pilot-0.0.9/pilotosd.c
--- pilot-0.0.9-orig/pilotosd.c 2008-04-02 15:45:18.597448151 +0200
+++ pilot-0.0.9/pilotosd.c 2008-04-02 15:46:45.507442460 +0200
@@ -34,7 +34,7 @@
{
delete osd;
}
-void cPilotOsd::DrawSymbol(int x, int y, char *SymbolName[], tColor ColorFg)
+void cPilotOsd::DrawSymbol(int x, int y, const char *SymbolName[], tColor ColorFg)
{
cBitmap bm(SymbolName);
osd->DrawBitmap(x, y, bm, ColorFg, pal[0]);
diff -ru pilot-0.0.9-orig/pilotosd.h pilot-0.0.9/pilotosd.h
--- pilot-0.0.9-orig/pilotosd.h 2008-04-02 15:45:18.597448151 +0200
+++ pilot-0.0.9/pilotosd.h 2008-04-02 15:46:30.908163317 +0200
@@ -11,7 +11,7 @@
class cPilotOsd : public cOsdObject {
private:
- void DrawSymbol(int x, int y, char *SymbolName[], tColor color);
+ void DrawSymbol(int x, int y, const char *SymbolName[], tColor color);
cOsd *osd;
int pal[16];
int lastTime;
diff -ru pilot-0.0.9-orig/symbols/down.xpm pilot-0.0.9/symbols/down.xpm
--- pilot-0.0.9-orig/symbols/down.xpm 2008-04-02 15:45:18.597448151 +0200
+++ pilot-0.0.9/symbols/down.xpm 2008-04-02 15:45:47.057442667 +0200
@@ -1,5 +1,5 @@
/* XPM */
-static char * down_xpm[] = {
+static const char * down_xpm[] = {
"22 26 2 1",
". c #FFFFFF",
"* c #000000",
diff -ru pilot-0.0.9-orig/symbols/up.xpm pilot-0.0.9/symbols/up.xpm
--- pilot-0.0.9-orig/symbols/up.xpm 2008-04-02 15:45:18.597448151 +0200
+++ pilot-0.0.9/symbols/up.xpm 2008-04-02 15:45:53.807442292 +0200
@@ -1,5 +1,5 @@
/* XPM */
-static char * up_xpm[] = {
+static const char * up_xpm[] = {
"22 26 2 1",
". c #FFFFFF",
"* c #000000",