Compiler warning on mingw-w64

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • 1.6.0
    • Affects Version/s: 1.5.0
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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
              Reporter:
              Jeroen Ooms [X]
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: