diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-05-10 08:56:56 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-05-10 10:47:37 -0700 |
commit | c129902793446cda9137f2b44c59d5840e4eeaec (patch) | |
tree | 798629c0e7b0d6ef4869ba5e39bfa2691a022475 /qt-ui/profilegraphics.h | |
parent | b3b1b3f58f39d1b87028908691b46d89a12d2143 (diff) | |
download | subsurface-c129902793446cda9137f2b44c59d5840e4eeaec.tar.gz |
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>
Diffstat (limited to 'qt-ui/profilegraphics.h')
-rw-r--r-- | qt-ui/profilegraphics.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/profilegraphics.h b/qt-ui/profilegraphics.h index 996c5927a..08dffd6a3 100644 --- a/qt-ui/profilegraphics.h +++ b/qt-ui/profilegraphics.h @@ -83,7 +83,7 @@ private: void plot_text_samples(); void plot_depth_sample(struct plot_data *entry, text_render_options_t *tro); void plot_cylinder_pressure_text(); - void plot_pressure_value(int mbar, int sec, int xalign, int yalign); + void plot_pressure_value(int mbar, int sec, double xalign, double yalign); void plot_deco_text(); void plot_pp_gas_profile(); void plot_pp_text(); |