There was an error while loading. Please reload this page.
1 parent 0b52a25 commit b85fa96Copy full SHA for b85fa96
sbe-benchmarks/src/main/cpp/SbeCarCodecBench.h
@@ -73,8 +73,8 @@ class SbeCarCodecBench : public CodecBench<SbeCarCodecBench>
73
.next().mph(60).seconds(7.1f)
74
.next().mph(100).seconds(11.8f);
75
76
- car.putManufacturer(MANUFACTURER, MANUFACTURER_LEN);
77
- car.putModel(MODEL, MODEL_LEN);
+ car.putManufacturer(MANUFACTURER, static_cast<std::uint32_t>(MANUFACTURER_LEN));
+ car.putModel(MODEL, static_cast<std::uint32_t>(MODEL_LEN));
78
79
return car.encodedLength();
80
}
0 commit comments