fix deprecated conversion from string constant to char* by using const char* instead...
[enigma2.git] / lib / gui / evideo.cpp
index f7f1680370f8b940b7161e687dbea7b3d8f674dd..328d95e484c8e56f628b3e5ebd76806b0a5c2764 100644 (file)
@@ -40,7 +40,7 @@ void eVideoWidget::updatePosition(int disable)
 
        for (int i=0; i<4; ++i)
        {
-               char *targets[]={"left", "top", "width", "height"};
+               const char *targets[]={"left", "top", "width", "height"};
                char filename[128];
                snprintf(filename, 128, "/proc/stb/vmpeg/%d/dst_%s", m_decoder, targets[i]);
                FILE *f = fopen(filename, "w");