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

PRIu64 format incorrectly specified for size_t

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.6.0-rc3, WT3.0.0
    • None
    • None
    • Storage 2017-11-13

    Description

      The changes to btree/bt_debug.c from WT-3705 broke the build on the Mac.

      ../src/btree/bt_debug.c:736:45: error: format specifies type
            'unsigned long long' but the argument has type 'size_t'
            (aka 'unsigned long') [-Werror,-Wformat]
              WT_RET(ds->f(ds, ", memory_size %" PRIu64, page->memory_footprint));
      

      That one line was added in https://github.com/wiredtiger/wiredtiger/pull/3765

      Attachments

        Activity

          People

            keith.bostic@mongodb.com Keith Bostic (Inactive)
            sue.loverso@mongodb.com Susan LoVerso
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: