[PATCH] Fix some compiler warnings (GCC 4.3)
Hi,
The attached patches fix some more compiler warnings (gcc 4.3). See the patch headers for details.
There are some more warning I would like to fix:
gui/climates.cc: In member function ‘virtual bool climate_gui_t::action_triggered(gui_action_creator_t*, value_t)’:
gui/climates.cc:242: warning: cast from type ‘const sint16*’ to type ‘sint16*’ casts away constness
The following code modifies this as well, so I guess the `const' qualifier at einstellungen_t::get_climate_borders should be removed?
The remaining warnings are mostly unused parameters and variables, comparison between signed and unsigned integer expressions and some printf arguments.
Ansgar