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

Compiler warning on mingw-w64

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.6.0
    • Affects Version/s: 1.5.0
    • Component/s: None
    • None

      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]
      

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

              Created:
              Updated:
              Resolved: