)]}'
{
  "commit": "aa5a36b118ade63ebb189a8a51ef5e9c7ea30505",
  "tree": "570b90f1912d4bccc425e45e6587475c2a5e6c5e",
  "parents": [
    "5bc519bf0c8d34df4fe5e37511a7ddee518684d1"
  ],
  "author": {
    "name": "Mark Wielaard",
    "email": "mark@klomp.org",
    "time": "Mon Jan 22 00:12:45 2024 +0100"
  },
  "committer": {
    "name": "Mark Wielaard",
    "email": "mark@klomp.org",
    "time": "Mon Jan 22 18:19:03 2024 +0100"
  },
  "message": "libsframe: Fix calloc argument order in dump_sframe_header\n\nGCC14 warns about the order of the arguments to calloc\n\nlibsframe/sframe-dump.c: In function ‘dump_sframe_header’:\nlibsframe/sframe-dump.c:70:39: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args]\n   70 |   flags_str \u003d (char*) calloc (sizeof (char), SFRAME_HEADER_FLAGS_STR_MAX_LEN);\n      |                                       ^~~~\nlibsframe/sframe-dump.c:70:39: note: earlier argument should specify number of elements, later size of each element\n\nFix this by swapping the size and count arguments.\n\nlibsframe/\n\n\t* sframe-dump.c (dump_sframe_header): Swap arguments to calloc\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0d596918f721a3efdad458773be7b1185ea2708d",
      "old_mode": 33188,
      "old_path": "libsframe/sframe-dump.c",
      "new_id": "42a086a5691fcfc32fb3754780ceaf9a24937d78",
      "new_mode": 33188,
      "new_path": "libsframe/sframe-dump.c"
    }
  ]
}
