Added const modifier to strings in pcb_calculator xpm files

When there is no const modifier gcc warns:
warning: ISO C++11 does not allow conversion from string literal to
'char *' [-Wwritable-strings]
This commit is contained in:
Maciej Suminski 2017-02-09 13:17:26 +01:00
parent c9b7647fe0
commit 6dec72b3c6
4 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
/* XPM */
static char * color_code_multiplier_xpm[] = {
static const char * color_code_multiplier_xpm[] = {
"90 280 14 1",
" c None",
". c #000000",

View File

@ -1,5 +1,5 @@
/* XPM */
static char * color_code_tolerance_xpm[] = {
static const char * color_code_tolerance_xpm[] = {
"90 280 14 1",
" c None",
". c #000000",

View File

@ -1,5 +1,5 @@
/* XPM */
static char * color_code_value_xpm[] = {
static const char * color_code_value_xpm[] = {
"90 234 13 1",
" c None",
". c #000000",

View File

@ -1,5 +1,5 @@
/* XPM */
static char * color_code_value_and_name_xpm[] = {
static const char * color_code_value_and_name_xpm[] = {
"90 280 14 1",
" c None",
". c #000000",