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

PRIu64 format incorrectly specified for size_t

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.0-rc3, WT3.0.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Storage 2017-11-13

      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

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

              Created:
              Updated:
              Resolved: