Browse Source

[3016] 64bit value requires "LL" suffix

Kazunori Fujiwara 11 years ago
parent
commit
ffbcf9833e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/bin/auth/statistics.cc.pre

+ 1 - 1
src/bin/auth/statistics.cc.pre

@@ -56,7 +56,7 @@ fillNodes(const Counter& counter,
         } else {
             trees->set(type_tree[i].name,
                        Element::create(static_cast<int64_t>(
-                           counter.get(type_tree[i].counter_id) & 0x7fffffffffffffff))
+                           counter.get(type_tree[i].counter_id) & 0x7fffffffffffffffLL))
                        );
         }
     }