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

PRIu64 format incorrectly specified for size_t

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.0-rc3, WT3.0.0
    • Component/s: None
    • Labels:
      None
    • Sprint:
      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

            Assignee:
            keith.bostic Keith Bostic
            Reporter:
            sue.loverso Susan LoVerso
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: