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

arg format mismatch after rwlock changes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.4, 3.4.15, 3.7.4, WT3.1.0
    • Component/s: None
    • Labels:
      None
    • Sprint:
      Storage Non-NYC 2018-03-26
    • Backport Requested:
      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

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

                Dates

                Created:
                Updated:
                Resolved: