aboutsummaryrefslogtreecommitdiff
path: root/engines/startrek/fixedint.h
diff options
context:
space:
mode:
authorD G Turner2018-08-09 15:08:24 +0100
committerD G Turner2018-08-09 15:08:24 +0100
commitcb55775f608aae8df8b27ca73d8a54c539dae7f2 (patch)
tree969eb8cf26380f522636ad8ed76a630a371fbe44 /engines/startrek/fixedint.h
parent7e4faf2111ca7e563e550958c8ab4adc17513766 (diff)
downloadscummvm-rg350-cb55775f608aae8df8b27ca73d8a54c539dae7f2.tar.gz
scummvm-rg350-cb55775f608aae8df8b27ca73d8a54c539dae7f2.tar.bz2
scummvm-rg350-cb55775f608aae8df8b27ca73d8a54c539dae7f2.zip
STARTREK: Fix Various Compiler Warnings.
Diffstat (limited to 'engines/startrek/fixedint.h')
-rw-r--r--engines/startrek/fixedint.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/startrek/fixedint.h b/engines/startrek/fixedint.h
index 605f166326..babed24458 100644
--- a/engines/startrek/fixedint.h
+++ b/engines/startrek/fixedint.h
@@ -34,8 +34,8 @@ namespace StarTrek {
*/
template<typename T, uint totalBits, uint decimalBits>
class TFixedInt : Common::Serializable {
- const static int max = (1 << (totalBits - decimalBits - 1)) - 1;
- const static int min = -max - 1;
+ static const int max = (1 << (totalBits - decimalBits - 1)) - 1;
+ static const int min = -max - 1;
T val;