Skip to content

Commit cb91283

Browse files
committed
Update base_path.h
1 parent d798016 commit cb91283

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Firestore/core/src/model/base_path.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ class BasePath {
206206
segment.substr(segment.size() - 2) == "__";
207207
}
208208

209-
static long extractNumericId(const std::string& segment) {
209+
static int64_t extractNumericId(const std::string& segment) {
210210
return std::stol(segment.substr(4, segment.size() - 2));
211211
}
212212
};

0 commit comments

Comments
 (0)