Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-3975

arg format mismatch after rwlock changes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.6.4, 3.4.15, 3.7.4, WT3.1.0
    • None
    • None
    • Storage Non-NYC 2018-03-26
    • v3.6, v3.4

    Description

      After the merge of WT-3972, building on my Mac gives me the following errors:

      ../../../test/csuite/rwlock/main.c:179:7: error: format specifies type
            'unsigned short' but the argument has type 'uint32_t' (aka 'unsigned int')
            [-Werror,-Wformat]
                          rwlock.u.s.readers_active,
                          ^~~~~~~~~~~~~~~~~~~~~~~~~
      ../../../test/csuite/rwlock/main.c:180:7: error: format specifies type
            'unsigned short' but the argument has type 'uint8_t' (aka 'unsigned char')
            [-Werror,-Wformat]
                          rwlock.u.s.readers_queued);
                          ^~~~~~~~~~~~~~~~~~~~~~~~~
      2 errors generated.
      

      Attachments

        Issue Links

          Activity

            People

              sue.loverso@mongodb.com Susan LoVerso
              sue.loverso@mongodb.com Susan LoVerso
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: