summaryrefslogtreecommitdiffstats
path: root/qt-ui/profilegraphics.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-10 08:56:56 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-10 08:59:09 -0700
commitbfef1d021970c57ce007fb4c29d62b0a1f4e13a2 (patch)
tree2d9129c677121e54a8cb5d4da09b3466f006fef6 /qt-ui/profilegraphics.h
parent9a403330673ffe1812a46e2afe4f473ca39f672b (diff)
downloadsubsurface-bfef1d021970c57ce007fb4c29d62b0a1f4e13a2.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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/profilegraphics.h b/qt-ui/profilegraphics.h
index 288c9230a..a2033ca75 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();