libdc/examples
Jef Driesen 7c9726da64 Fix -Wcast-qual compiler warning
String literals have the type 'char[N]' by default. Allthough they are
not really 'const', modifying a string literal is undefined behaviour.
Therefore, to avoid mistakes, libdivecomputer uses the -Wwrite-strings
compiler option to change the default type to 'const char[N]'.

The cast that triggers the -Wcast-qual warning can be avoided by using a
character array instead of string literal.
2021-01-04 20:20:52 +01:00
..
2020-08-11 15:16:36 +02:00
2016-01-04 19:50:51 +01:00
2016-01-04 19:50:51 +01:00
2020-08-11 15:16:36 +02:00
2016-01-04 19:50:51 +01:00
2021-01-04 20:20:52 +01:00
2018-04-03 21:44:08 +02:00
2018-04-03 21:44:08 +02:00
2016-02-26 07:55:40 +01:00
2014-03-19 09:16:07 +01:00