summaryrefslogtreecommitdiffstats
path: root/sync/test/engine/test_id_factory.h
diff options
context:
space:
mode:
Diffstat (limited to 'sync/test/engine/test_id_factory.h')
-rw-r--r--sync/test/engine/test_id_factory.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sync/test/engine/test_id_factory.h b/sync/test/engine/test_id_factory.h
index 40a3b5b..705575a 100644
--- a/sync/test/engine/test_id_factory.h
+++ b/sync/test/engine/test_id_factory.h
@@ -7,6 +7,8 @@
#ifndef SYNC_TEST_ENGINE_TEST_ID_FACTORY_H_
#define SYNC_TEST_ENGINE_TEST_ID_FACTORY_H_
+#include <stdint.h>
+
#include <string>
#include "base/strings/string_number_conversions.h"
@@ -26,7 +28,7 @@ class TestIdFactory {
// If the number is positive, create a server ID based on the value. If
// the number is negative, create a local ID based on the value. This
// is deterministic, and [FromNumber(X) == FromNumber(Y)] iff [X == Y].
- static syncable::Id FromNumber(int64 value) {
+ static syncable::Id FromNumber(int64_t value) {
if (value == 0)
return root();
else if (value < 0)