From 21ad03fd620a545208579a8fe59dc2742de3b7b5 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 12 Mar 2014 04:40:26 +0100 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/blueshift_drm_c.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/blueshift_drm_c.c') diff --git a/src/blueshift_drm_c.c b/src/blueshift_drm_c.c index afd27d9..f045b97 100644 --- a/src/blueshift_drm_c.c +++ b/src/blueshift_drm_c.c @@ -177,9 +177,9 @@ int main(int argc, char** argv) printf("Connected: %i\n", connector->connection == DRM_MODE_CONNECTED); /* DRM_MODE_DISCONNECTED DRM_MODE_UNKNOWNCONNECTION */ printf("Encoder: %i\n", connector->encoder_id); - static char* types[] = {"Unknown", "VGA", "DVII", "DVID", "DVIA", "Composite", "SVIDEO", "LVDS", - "Component", "9PinDIN", "DisplayPort", "HDMIA", "HDMIB", "TV", "eDP", - "VIRTUAL", "DSI"}; + static const char* types[] = {"Unknown", "VGA", "DVII", "DVID", "DVIA", "Composite", "SVIDEO", "LVDS", + "Component", "9PinDIN", "DisplayPort", "HDMIA", "HDMIB", "TV", "eDP", + "VIRTUAL", "DSI"}; printf("Type: %s (%i)\n", types[connector->connector_type], connector->connector_type); int i; for (i = 0; i < connector->count_props; i++) -- cgit v1.2.3-70-g09d2