)]}'
{
  "commit": "36a4bbcec4b31ff7a5fb8e5a2e20acef9344c810",
  "tree": "031916146a6d4f42803982611816a1e756febec9",
  "parents": [
    "71458a6da11f8afe3f39b47656d9fe5237561c26"
  ],
  "author": {
    "name": "Andrew Burgess",
    "email": "aburgess@redhat.com",
    "time": "Fri Dec 05 14:15:11 2025 +0000"
  },
  "committer": {
    "name": "Andrew Burgess",
    "email": "aburgess@redhat.com",
    "time": "Fri Dec 05 14:23:30 2025 +0000"
  },
  "message": "sim: make local variable \u0027const\u0027\n\nThis build error was reported to me off list:\n\n  common/callback.c:993:13: error: initializing \u0027char *\u0027 with an expression of type \u0027const char *\u0027 discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers]\n    993 |       char *q \u003d strchr (m, \u0027,\u0027);\n        |             ^   ~~~~~~~~~~~~~~~\n\nThis is because with C23, strchr returns \u0027const char *\u0027 if a \u0027const\nchar *\u0027 is passed as an argument.\n\nIn this case M is \u0027const char *\u0027, so Q should also be \u0027const char *\u0027.\nAnd indeed, we don\u0027t write via Q at any time, so lets make it \u0027const\u0027.\n\nThere should be no user visible changes after this commit.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "54b9476ff7ea87b59d50321c6999a3a0b5bfa5c9",
      "old_mode": 33188,
      "old_path": "sim/common/callback.c",
      "new_id": "7f4ee81bc8b7c23fa3b8dfdbb13b26a13cbe92b3",
      "new_mode": 33188,
      "new_path": "sim/common/callback.c"
    }
  ]
}
