tarantool / tntcxx

Tarantool C++ connector
Other
8 stars 6 forks source link

Fix int float conversion warnings #80

Open drewdzzz opened 11 months ago

drewdzzz commented 11 months ago

After populating compile options with -Wimplicit-int-float-conversion flag the build fails. int is implicitly conversed to float in at least 2 places:

  1. LibevNetProvider.hpp:365 - ev_timer_init(&m_TimeoutWatcher, &timeout_cb, timeout / MILLISECONDS, 0 /* repeat */); in method wait.
  2. Dec.hpp:486 - item = val; in read_item.