summaryrefslogtreecommitdiffstats
path: root/profile.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 10:47:37 -0700
commitc129902793446cda9137f2b44c59d5840e4eeaec (patch)
tree798629c0e7b0d6ef4869ba5e39bfa2691a022475 /profile.h
parentb3b1b3f58f39d1b87028908691b46d89a12d2143 (diff)
downloadsubsurface-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 'profile.h')
-rw-r--r--profile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/profile.h b/profile.h
index 89324530a..2b2c7bff5 100644
--- a/profile.h
+++ b/profile.h
@@ -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 */