We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 005a3e3 commit d4e8297Copy full SHA for d4e8297
ydb/core/persqueue/pq_impl.cpp
@@ -1628,8 +1628,8 @@ void TPersQueue::ProcessUpdateConfigRequest(TAutoPtr<TEvPersQueue::TEvUpdateConf
1628
{
1629
auto& record = ev->Record;
1630
1631
- int oldConfigVersion = Config.HasVersion() ? Config.GetVersion() : -1;
1632
- int newConfigVersion = NewConfig.HasVersion() ? NewConfig.GetVersion() : oldConfigVersion;
+ int oldConfigVersion = Config.HasVersion() ? static_cast<int>(Config.GetVersion()) : -1;
+ int newConfigVersion = NewConfig.HasVersion() ? static_cast<int>(NewConfig.GetVersion()) : oldConfigVersion;
1633
1634
Y_ABORT_UNLESS(newConfigVersion >= oldConfigVersion);
1635
0 commit comments