• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

zeromq / cppzmq / 23046622562
88%

Build:
DEFAULT BRANCH: master
Ran 13 Mar 2026 10:27AM UTC
Jobs 1
Files 2
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 Mar 2026 10:25AM UTC coverage: 87.896%. Remained the same
23046622562

push

github

web-flow
Store zmq_timers_timeout() result in long, not int (#681)

[why]
When compiling with -Wconversion, gcc 13.3 issues a warning:

zmq.hpp: In member function ‘zmq::timers::timeout_result_t zmq::timers::timeout() const’:
zmq.hpp:2857:41: warning: conversion from ‘long int’ to ‘int’ may change value [-Wconversion]
 2857 |         int timeout = zmq_timers_timeout(_timers);
      |                       ~~~~~~~~~~~~~~~~~~^~~~~~~~~

zmq_timers_timeout() returns long, but its return value is stored in an
int variable, which may or may not be a mismatch depending on compiler
and architecture.

[how]
Simply adjust the type of the variable from int to long. We could also
change the literal in the following comparison from -1 to -1L, but that
seems pedantic and does not match the style of the surrounding code.

Signed-off-by: Lars Froehlich <lars.froehlich@desy.de>

1 of 1 new or added line in 1 file covered. (100.0%)

944 of 1074 relevant lines covered (87.9%)

22.24 hits per line

Jobs
ID Job ID Ran Files Coverage
1 23046622562.1 13 Mar 2026 10:27AM UTC 2
87.9
GitHub Action Run
Source Files on build 23046622562
  • Tree
  • List 2
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 6a8dc38a on github
  • Prev Build on master (#22894157574)
  • Next Build on master (#23243074545)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc