Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • BIND BIND
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 609
    • Issues 609
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 87
    • Merge requests 87
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source ProjectsISC Open Source Projects
  • BINDBIND
  • Issues
  • #2957
Closed
Open
Issue created Oct 18, 2021 by Michal Nowak@mnowakMaintainer

Comparison of integer expressions of different signedness in dispatch.c on illumos

Compilation on OpenIndiana (illumos c5ef4e1ed4) produces the following warning:

In file included from ../../lib/isc/include/isc/list.h:14,
                 from ../../lib/isc/include/isc/types.h:30,
                 from ../../lib/isc/include/isc/mem.h:22,
                 from dispatch.c:21:
dispatch.c: In function 'dispatch_getnext':
dispatch.c:1432:18: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'unsigned int' [-Wsign-compare]
 1432 |  REQUIRE(timeout <= UINT16_MAX);
      |                  ^~
../../lib/isc/include/isc/assertions.h:44:11: note: in definition of macro 'ISC_REQUIRE'
   44 |  ((void)((cond) ||                                                  \
      |           ^~~~
dispatch.c:1432:2: note: in expansion of macro 'REQUIRE'
 1432 |  REQUIRE(timeout <= UINT16_MAX);
      |  ^~~~~~~

It seems to be related to the net manager dispatch branch, namely 8551ad02.

Assignee
Assign to
Time tracking