From d83c57e59ddf8591f4e497aeadbb4200b810c7a4 Mon Sep 17 00:00:00 2001 From: pd Date: Sat, 14 Jun 2008 16:42:41 +0200 Subject: [PATCH] Fixed a gcc4 warning --- tools/xml2cpp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/xml2cpp.cpp b/tools/xml2cpp.cpp index 6af8f3b..144d9ff 100644 --- a/tools/xml2cpp.cpp +++ b/tools/xml2cpp.cpp @@ -85,7 +85,7 @@ int char_to_atomic_type( char t ) const char* atomic_type_to_string( char t ) { - static struct { char type; char* name; } atos[] = + static struct { char type; const char* name; } atos[] = { { 'y', "::DBus::Byte" }, { 'b', "::DBus::Bool" },