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" },