aboutsummaryrefslogtreecommitdiff
path: root/odb/pragma.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2014-05-05 15:02:44 -0700
committerBoris Kolpackov <boris@codesynthesis.com>2014-05-05 15:02:44 -0700
commit97281fd4454596834142fa43f83af38695b38e5b (patch)
treee39e42c289a8c4db27a12ff4eaff01b7b905f6cf /odb/pragma.cxx
parente8c365d6d0ba4c969819b4c6aacab54ad7461a00 (diff)
GCC 4.9.0 compatibility fixes
Diffstat (limited to 'odb/pragma.cxx')
-rw-r--r--odb/pragma.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/pragma.cxx b/odb/pragma.cxx
index 89cfd50..6a2d6ba 100644
--- a/odb/pragma.cxx
+++ b/odb/pragma.cxx
@@ -368,7 +368,7 @@ check_spec_decl_type (declaration const& d,
string const& p,
location_t l)
{
- int tc (d.tree_code ());
+ gcc_tree_code_type tc (d.tree_code ());
bool type (TREE_CODE_CLASS (tc) == tcc_type);
if (p == "no_id")
@@ -2509,7 +2509,7 @@ check_qual_decl_type (declaration const& d,
string const& p,
location_t l)
{
- int tc (d.tree_code ());
+ gcc_tree_code_type tc (d.tree_code ());
bool type (TREE_CODE_CLASS (tc) == tcc_type);
if (p == "model" ||