Fix some compiler warnings

Passing the alignment as int instead of float or double was actually a bug
as CENTER is defined as (-0.5) ...

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2013-05-10 08:56:56 -07:00
parent b3b1b3f58f
commit c129902793
3 changed files with 3 additions and 5 deletions

View file

@ -14,7 +14,7 @@ struct graphics_context;
struct plot_info;
struct plot_data {
unsigned int in_deco:1;
unsigned int cylinderindex;
int cylinderindex;
int sec;
/* pressure[0] is sensor pressure
* pressure[1] is interpolated pressure */