Fix build with clang16 compiler on 32bit hosts

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Works as Designed
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Security
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      4.19 release fails to build with clang16+ 

      src/mongo/util/processinfo_linux.cpp:424:16: error: no matching function for call to 'max'
              return std::max(socketIds.size(), 1ul);

            Assignee:
            [DO NOT USE] Backlog - Security Team
            Reporter:
            Khem Raj
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: