summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devicedetails.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/devicedetails.h b/devicedetails.h
index d754e9774..372d5cd32 100644
--- a/devicedetails.h
+++ b/devicedetails.h
@@ -6,15 +6,15 @@
#include "libdivecomputer.h"
struct gas {
- int oxygen;
- int helium;
- int type;
- int depth;
+ unsigned char oxygen;
+ unsigned char helium;
+ unsigned char type;
+ unsigned char depth;
};
struct setpoint {
- int sp;
- int depth;
+ unsigned char sp;
+ unsigned char depth;
};
class DeviceDetails : public QObject