Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-1935

Compiler warning on mingw-w64

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 1.6.0
    • 1.5.0
    • None
    • None

    Description

      Compiler warning with 1.5.0rc6 on mingw-w64:

      mongoc/mongoc-handshake.c: In function '_get_os_version':
      mongoc/mongoc-handshake.c:209:22: warning: format '%d' expects argument of type 'int', but argument 4 has type 'DWORD' [-Wformat]
      mongoc/mongoc-handshake.c:209:22: warning: format '%d' expects argument of type 'int', but argument 5 has type 'DWORD' [-Wformat]
      mongoc/mongoc-handshake.c:209:22: warning: format '%d' expects argument of type 'int', but argument 6 has type 'DWORD' [-Wformat]
      mongoc/mongoc-handshake.c:212:7: warning: format '%d' expects argument of type 'int', but argument 4 has type 'DWORD' [-Wformat]
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            Jeroenooms Jeroen Ooms [X]
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: