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

arg format mismatch after rwlock changes

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.4, 3.4.15, 3.7.4, WT3.1.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Non-NYC 2018-03-26
    • v3.6, v3.4

      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.
      

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

              Created:
              Updated:
              Resolved: