aboutsummaryrefslogtreecommitdiff
path: root/common/types
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-11-29 12:18:10 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-11-29 12:18:10 +0200
commit1b719c832cd664884183af698b1f2d6075579cd2 (patch)
treeee1663b5ffc293bbd0f75e247da4501fdc454daa /common/types
parent140476391c2dd2982a0b0560e5960de8b7231fb1 (diff)
Use biggest int type to avoid potential warnings
Diffstat (limited to 'common/types')
-rw-r--r--common/types/test.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/types/test.hxx b/common/types/test.hxx
index 858f403..a36b5d5 100644
--- a/common/types/test.hxx
+++ b/common/types/test.hxx
@@ -51,7 +51,7 @@ struct num_wrap
struct object3
{
#pragma db id type("INTEGER")
- num_wrap<int> num_;
+ num_wrap<long long> num_; // Use long long to avoid warnings.
};
#endif // TEST_HXX