diff --git a/td/telegram/PollManager.cpp b/td/telegram/PollManager.cpp index cc1f3e1c..f6026271 100644 --- a/td/telegram/PollManager.cpp +++ b/td/telegram/PollManager.cpp @@ -466,7 +466,7 @@ telegram_api::object_ptr PollManager::get_input_poll_o PollId PollManager::create_poll(string &&question, vector &&options) { auto poll = make_unique(); poll->question = std::move(question); - int pos = 0; + int pos = '0'; for (auto &option_text : options) { PollOption option; option.text = std::move(option_text);