summaryrefslogtreecommitdiff
path: root/src/CUIDCounter.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-03-21 07:05:49 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-03-21 07:05:49 +0000
commitde8fef01f3119719441b36c758fd5bd924bcf607 (patch)
tree61be92e32b982948d39421a4a58acfbb21e5e50c /src/CUIDCounter.h
parent322a0d1ad7e0ab0eaae6335baf91f5423b92c7f4 (diff)
2010-03-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Defined cuid_t as int64_t. Removed texts containing "CUID#%D" from translatable texts because it is used in log and debugging purpose.
Diffstat (limited to 'src/CUIDCounter.h')
-rw-r--r--src/CUIDCounter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CUIDCounter.h b/src/CUIDCounter.h
index ce9d5fee..a6c43b16 100644
--- a/src/CUIDCounter.h
+++ b/src/CUIDCounter.h
@@ -50,7 +50,7 @@ public:
cuid_t newID()
{
- if(_count == INT32_MAX) {
+ if(_count == INT64_MAX) {
_count = 0;
}
return ++_count;