1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-12 17:19:09 +00:00

Fix #13795: size_t mayn't be the same size as uint64_t. (#13796)

This commit is contained in:
2025-03-11 17:55:33 +00:00
committed by GitHub
parent 40ddc03423
commit 3336f13a63

View File

@@ -213,7 +213,7 @@ struct EngineIDMapping {
/** Projection to get a unique key of an EngineIDMapping, used for sorting in EngineOverrideManager. */
struct EngineIDMappingKeyProjection {
inline size_t operator()(const EngineIDMapping &eid) const { return eid.Key(); }
inline uint64_t operator()(const EngineIDMapping &eid) const { return eid.Key(); }
};
/**