)]}'
{
  "commit": "e5783467a342ffdc89cc7fb678eae033c2f7cce1",
  "tree": "896c2dc7abd1f3cecb2a956eb75c069fd4f5e182",
  "parents": [
    "00d7af046f12f18759b5b2c909d0b4527ac1857e"
  ],
  "author": {
    "name": "John Baldwin",
    "email": "jhb@FreeBSD.org",
    "time": "Fri Jan 28 11:22:02 2022 -0800"
  },
  "committer": {
    "name": "John Baldwin",
    "email": "jhb@FreeBSD.org",
    "time": "Fri Jan 28 11:22:02 2022 -0800"
  },
  "message": "gdb: fix ppc-sysv-tdep.c build on 32-bit platforms\n\nThe previous code triggered the following error on an i386 host:\n\n/git/gdb/gdb/ppc-sysv-tdep.c:1764:34: error: non-constant-expression cannot be narrowed from type \u0027ULONGEST\u0027 (aka \u0027unsigned long long\u0027) to \u0027size_t\u0027 (aka \u0027unsigned int\u0027) in initializer list [-Wc++11-narrowing]\n              unscaled.read ({writebuf, TYPE_LENGTH (valtype)},\n                                        ^~~~~~~~~~~~~~~~~~~~~\n/git/gdb/gdb/gdbtypes.h:2043:31: note: expanded from macro \u0027TYPE_LENGTH\u0027\n                              ^~~~~~~~~~~~~~~~~~\n/git/gdb/gdb/ppc-sysv-tdep.c:1764:34: note: insert an explicit cast to silence this issue\n              unscaled.read ({writebuf, TYPE_LENGTH (valtype)},\n                                        ^~~~~~~~~~~~~~~~~~~~~\n                                        static_cast\u003csize_t\u003e( )\n/git/gdb/gdb/gdbtypes.h:2043:31: note: expanded from macro \u0027TYPE_LENGTH\u0027\n                              ^~~~~~~~~~~~~~~~~~\n1 error generated.\n\nFix this by using gdb::make_array_view.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5255cea43e389f043f03670d2df2685e8f256bc3",
      "old_mode": 33188,
      "old_path": "gdb/ppc-sysv-tdep.c",
      "new_id": "9a3b02f028d360cf99c974026df2e646541fd1b3",
      "new_mode": 33188,
      "new_path": "gdb/ppc-sysv-tdep.c"
    }
  ]
}
