summaryrefslogtreecommitdiffstats
path: root/sync/engine/syncer_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sync/engine/syncer_util.cc')
-rw-r--r--sync/engine/syncer_util.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/sync/engine/syncer_util.cc b/sync/engine/syncer_util.cc
index 6cd66b0..bb05885 100644
--- a/sync/engine/syncer_util.cc
+++ b/sync/engine/syncer_util.cc
@@ -4,6 +4,8 @@
#include "sync/engine/syncer_util.h"
+#include <stdint.h>
+
#include <algorithm>
#include <set>
#include <string>
@@ -138,8 +140,8 @@ syncable::Id FindLocalIdToUpdate(
// If it exists, then our local client lost a commit response. Use
// the local entry.
if (local_entry.good() && !local_entry.GetIsDel()) {
- int64 old_version = local_entry.GetBaseVersion();
- int64 new_version = update.version();
+ int64_t old_version = local_entry.GetBaseVersion();
+ int64_t new_version = update.version();
DCHECK_LE(old_version, 0);
DCHECK_GT(new_version, 0);
// Otherwise setting the base version could cause a consistency failure.