)]}'
{
  "commit": "f4f972fed3a7b18e26089d1693b6f88bccda32ce",
  "tree": "31a826b3654fba798c0ef6dabc47dfa021292120",
  "parents": [
    "87a12996efe1b98a15137fd723ad826ba17cc46d"
  ],
  "author": {
    "name": "Martin Storsjö",
    "email": "martin@martin.st",
    "time": "Wed Sep 18 15:05:06 2024 +0300"
  },
  "committer": {
    "name": "Martin Storsjö",
    "email": "martin@martin.st",
    "time": "Fri Sep 27 00:27:28 2024 +0300"
  },
  "message": "crt: Use (void*) casts to silence warnings about function pointer casts\n\nModern GCC and Clang warn for these casts, with warnings like these:\n\n../secapi/_chsize_s.c:20:6: warning: cast from \u0027FARPROC\u0027 (aka \u0027long long (*)()\u0027) to \u0027errno_t ((*))(int, long long) __attribute__((cdecl))\u0027 (aka \u0027int (*)(int, lo\nng long)\u0027) converts to incompatible function type [-Wcast-function-type-mismatch]\n   20 |         f \u003d (errno_t __cdecl (*)(int, long long))\n      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n   21 |             GetProcAddress (__mingw_get_msvcrt_handle (), \"_chsize_s\");\n      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nBy casting to (void*) instead, we can let the compiler do the second\ncast to the target function type implicitly, and also silencing these\nwarnings.\n\nSigned-off-by: Martin Storsjö \u003cmartin@martin.st\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "445c42a47caf20b4c43a0a8d46e6f1d6aef33efc",
      "old_mode": 33188,
      "old_path": "mingw-w64-crt/libsrc/wspiapi/WspiapiGetAddrInfo.c",
      "new_id": "cc235f7aa42f5a6aef103f9fe881bb92ef92b2a7",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/libsrc/wspiapi/WspiapiGetAddrInfo.c"
    },
    {
      "type": "modify",
      "old_id": "ab805956f776a4ba3ad231e3d1c4f8d4a35d8797",
      "old_mode": 33188,
      "old_path": "mingw-w64-crt/libsrc/wspiapi/WspiapiGetNameInfo.c",
      "new_id": "bf2423668b483e36f2281b2b3a23a4be8075eed2",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/libsrc/wspiapi/WspiapiGetNameInfo.c"
    },
    {
      "type": "modify",
      "old_id": "5bb25cfe010e9b33fc4d80c60e2c02c7d863bab0",
      "old_mode": 33188,
      "old_path": "mingw-w64-crt/misc/output_format.c",
      "new_id": "d55da8bdcdf078baf34b878ea91f583863bab686",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/misc/output_format.c"
    },
    {
      "type": "modify",
      "old_id": "9be582e8787ba0fc601f55404222078483d9498d",
      "old_mode": 33188,
      "old_path": "mingw-w64-crt/secapi/_access_s.c",
      "new_id": "130fdcbf21c4490cd05501391f734e7fd7c420e1",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/secapi/_access_s.c"
    },
    {
      "type": "modify",
      "old_id": "f81623a9a9fde190478f66ab0f0aa7414a63c1ef",
      "old_mode": 33188,
      "old_path": "mingw-w64-crt/secapi/_cgets_s.c",
      "new_id": "6b6917bf958831554fadac38416502f0ae531586",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/secapi/_cgets_s.c"
    },
    {
      "type": "modify",
      "old_id": "01ee3d1b32ba135ebe790a0a2666bea90c4aa7b7",
      "old_mode": 33188,
      "old_path": "mingw-w64-crt/secapi/_cgetws_s.c",
      "new_id": "42f308d42ce6a57f444094bc0d0a8c42d555fddb",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/secapi/_cgetws_s.c"
    },
    {
      "type": "modify",
      "old_id": "cd8d066ebb94fe1af001db8def1af06b0b08ccb2",
      "old_mode": 33188,
      "old_path": "mingw-w64-crt/secapi/_chsize_s.c",
      "new_id": "250183708a4d9f9c9d4e14628cd82b09a7ddb2e6",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/secapi/_chsize_s.c"
    },
    {
      "type": "modify",
      "old_id": "32be17cfb83e1fc64e3b8bb4f1db26555ad3d9f8",
      "old_mode": 33188,
      "old_path": "mingw-w64-crt/secapi/_controlfp_s.c",
      "new_id": "afdcde14844d4bbf18b9ee7b46921f91dd4cb31e",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/secapi/_controlfp_s.c"
    },
    {
      "type": "modify",
      "old_id": "c59ccfc190a5331b227c1e97b3b1a88eb2ca0e9e",
      "old_mode": 33188,
      "old_path": "mingw-w64-crt/secapi/_ctime32_s.c",
      "new_id": "c5e13edc96505734a725283647085e2bebb09e12",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/secapi/_ctime32_s.c"
    },
    {
      "type": "modify",
      "old_id": "833d14a0aa6a53f6d206b5cce3dad776a1ffbff6",
      "old_mode": 33188,
      "old_path": "mingw-w64-crt/secapi/_ctime64_s.c",
      "new_id": "46b2d9fa47c124b43df78b75558314a3f45ded2b",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/secapi/_ctime64_s.c"
    },
    {
      "type": "modify",
      "old_id": "7139c24df1006db5414cf562740ae6c595a09345",
      "old_mode": 33188,
      "old_path": "mingw-w64-crt/secapi/_gmtime32_s.c",
      "new_id": "0ef6a2253c590afa1215cbb411a9673db6696494",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/secapi/_gmtime32_s.c"
    },
    {
      "type": "modify",
      "old_id": "c4ca154684b6f5c2c72c9c16fbe29525dbc87553",
      "old_mode": 33188,
      "old_path": "mingw-w64-crt/secapi/_gmtime64_s.c",
      "new_id": "de36ffe194d691bd759ac91c69fc24f5006458cf",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/secapi/_gmtime64_s.c"
    },
    {
      "type": "modify",
      "old_id": "c8a62f6ccee2532a8971804a6d923cb633e9f167",
      "old_mode": 33188,
      "old_path": "mingw-w64-crt/secapi/_localtime32_s.c",
      "new_id": "9ec35407bc68e344ad293d3a2d8130633996656c",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/secapi/_localtime32_s.c"
    },
    {
      "type": "modify",
      "old_id": "bff0868ba1a4e22d2ade2386629a7560b9f7fd84",
      "old_mode": 33188,
      "old_path": "mingw-w64-crt/secapi/_localtime64_s.c",
      "new_id": "58dbb113fe5b6163109ed2ac6440fd09435ad653",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/secapi/_localtime64_s.c"
    },
    {
      "type": "modify",
      "old_id": "01484d9384575ebd0ea66c4d873bff6907c7f619",
      "old_mode": 33188,
      "old_path": "mingw-w64-crt/secapi/_mktemp_s.c",
      "new_id": "2a72acbe4d9e5b637b52bf42ba83067d9ecee820",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/secapi/_mktemp_s.c"
    },
    {
      "type": "modify",
      "old_id": "b4f8f6af5b0ceb9d0ad7cd48d15d2c2c7524afe5",
      "old_mode": 33188,
      "old_path": "mingw-w64-crt/secapi/_sopen_s.c",
      "new_id": "6dc6f17d1f0daa162a97240f0ab4ef99d4367382",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/secapi/_sopen_s.c"
    },
    {
      "type": "modify",
      "old_id": "b62dec75216a158e47d392c543bb996c07ea1b59",
      "old_mode": 33188,
      "old_path": "mingw-w64-crt/secapi/_strdate_s.c",
      "new_id": "944057af44459d458d5e4da75e4b8def9d0348f0",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/secapi/_strdate_s.c"
    },
    {
      "type": "modify",
      "old_id": "b66e3f95a8d8d7fb30a5e11fb6f3e309029f32b2",
      "old_mode": 33188,
      "old_path": "mingw-w64-crt/secapi/_strtime_s.c",
      "new_id": "270ac421557a98d6b3bf8b21b5a75a0a80ea0ba5",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/secapi/_strtime_s.c"
    },
    {
      "type": "modify",
      "old_id": "75e8ddbb46242378d50f6dca079f0761f6aa5378",
      "old_mode": 33188,
      "old_path": "mingw-w64-crt/secapi/_umask_s.c",
      "new_id": "a13140de6a7bf96b3da4ba9fcabd777c98beb652",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/secapi/_umask_s.c"
    },
    {
      "type": "modify",
      "old_id": "91f143f1fa0fd1aff8695b2a081e7cef549f37f8",
      "old_mode": 33188,
      "old_path": "mingw-w64-crt/secapi/_vcprintf_s.c",
      "new_id": "34eb451ec8cae1db1f708401b64e50aa10c332c8",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/secapi/_vcprintf_s.c"
    },
    {
      "type": "modify",
      "old_id": "787c76be4df0591bca9a12fd770d6a75b659994a",
      "old_mode": 33188,
      "old_path": "mingw-w64-crt/secapi/_vcprintf_s_l.c",
      "new_id": "bad490476645486c6d8f24c6a26703a24d279829",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/secapi/_vcprintf_s_l.c"
    },
    {
      "type": "modify",
      "old_id": "325e866197abc67d042f3f75344cce365213b805",
      "old_mode": 33188,
      "old_path": "mingw-w64-crt/secapi/_vcwprintf_s.c",
      "new_id": "0cddc52f8df01a8593ff612cfbb262ff4ce625c2",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/secapi/_vcwprintf_s.c"
    },
    {
      "type": "modify",
      "old_id": "4d112a1c52ef73c99c00c93127e496e9e1b31db8",
      "old_mode": 33188,
      "old_path": "mingw-w64-crt/secapi/_vcwprintf_s_l.c",
      "new_id": "978e546260e6d179fcee250c2cf32db0ced9a937",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/secapi/_vcwprintf_s_l.c"
    },
    {
      "type": "modify",
      "old_id": "c4825cff44898ccea27d036692fa62d510e53aa9",
      "old_mode": 33188,
      "old_path": "mingw-w64-crt/secapi/_waccess_s.c",
      "new_id": "795731270d1e962518f621f49b332db91854f5f4",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/secapi/_waccess_s.c"
    },
    {
      "type": "modify",
      "old_id": "6b414ee9dd256e46c28f7dfd43dabc756d83222d",
      "old_mode": 33188,
      "old_path": "mingw-w64-crt/secapi/_wasctime_s.c",
      "new_id": "fbc28048172a76e9f95f555b21ba2305914fd758",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/secapi/_wasctime_s.c"
    },
    {
      "type": "modify",
      "old_id": "27c414b161ed5b4170195e58ffb1db488d284deb",
      "old_mode": 33188,
      "old_path": "mingw-w64-crt/secapi/_wctime32_s.c",
      "new_id": "42d4b8ab0cc42c37125424ca22946430f1b93749",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/secapi/_wctime32_s.c"
    },
    {
      "type": "modify",
      "old_id": "bce40fd227f91150b85922450d96aadd9921dcc4",
      "old_mode": 33188,
      "old_path": "mingw-w64-crt/secapi/_wctime64_s.c",
      "new_id": "860e5b48617c0690b4b68861b14e7e9534e268cb",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/secapi/_wctime64_s.c"
    },
    {
      "type": "modify",
      "old_id": "e13abc790828b2389b78605def6fd8cb6cf2c27c",
      "old_mode": 33188,
      "old_path": "mingw-w64-crt/secapi/_wmktemp_s.c",
      "new_id": "fc887f3e9ea2fd4c2d150e260f45fd875ffeed14",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/secapi/_wmktemp_s.c"
    },
    {
      "type": "modify",
      "old_id": "e8ec1d446e6c9c218c9d8b68b1d8bb92fda87b0a",
      "old_mode": 33188,
      "old_path": "mingw-w64-crt/secapi/_wstrdate_s.c",
      "new_id": "3cd0c0955d84f53b8ce920aef545b40c5eea7fd2",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/secapi/_wstrdate_s.c"
    },
    {
      "type": "modify",
      "old_id": "ffb8a3e96ff143c5318c8d2e65db1e95f6daad7a",
      "old_mode": 33188,
      "old_path": "mingw-w64-crt/secapi/_wstrtime_s.c",
      "new_id": "a11211c2a3c4f19ef619ffc6f5702616fb887d1c",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/secapi/_wstrtime_s.c"
    },
    {
      "type": "modify",
      "old_id": "aeb16e3bcffb6bad2114fa8948d8d44a75288f46",
      "old_mode": 33188,
      "old_path": "mingw-w64-crt/secapi/asctime_s.c",
      "new_id": "18a7aebcb80bc2bff638e32d76f3a088930173e1",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/secapi/asctime_s.c"
    },
    {
      "type": "modify",
      "old_id": "013eff05c5cfc9c5ea2df38914fbb90f9b913c84",
      "old_mode": 33188,
      "old_path": "mingw-w64-crt/secapi/memcpy_s.c",
      "new_id": "a206de3bdc3f7fb8906fff1afe6102a29edcdab9",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/secapi/memcpy_s.c"
    },
    {
      "type": "modify",
      "old_id": "dca1dbe57ea1ddc8980d7476070c56523b17e265",
      "old_mode": 33188,
      "old_path": "mingw-w64-crt/secapi/memmove_s.c",
      "new_id": "e5cee87c74d2e3b6170f733f757c67636a6dda35",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/secapi/memmove_s.c"
    },
    {
      "type": "modify",
      "old_id": "1216c4131c1c3c38e3369cd04a3f6a663b604ca3",
      "old_mode": 33188,
      "old_path": "mingw-w64-crt/secapi/strerror_s.c",
      "new_id": "ea7148aa76ae8ea758ac8d22fb67f25ee8b1eba1",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/secapi/strerror_s.c"
    },
    {
      "type": "modify",
      "old_id": "45dfb14b1106111fd9d90e5442bb41bbc52ed7e1",
      "old_mode": 33188,
      "old_path": "mingw-w64-crt/secapi/vsprintf_s.c",
      "new_id": "dbb1c46aff1711da4ecdc68fde125e72041a27e9",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/secapi/vsprintf_s.c"
    },
    {
      "type": "modify",
      "old_id": "83879246ed4d0a8ee397d6f43e47f6468daaf78a",
      "old_mode": 33188,
      "old_path": "mingw-w64-crt/secapi/wmemcpy_s.c",
      "new_id": "8276f28f231d110274c649e371c01371d35f002e",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/secapi/wmemcpy_s.c"
    },
    {
      "type": "modify",
      "old_id": "2e0d572efdf3751dfa2ac333ac66f5dc3b299c30",
      "old_mode": 33188,
      "old_path": "mingw-w64-crt/secapi/wmemmove_s.c",
      "new_id": "d9f09ebeedd0ba1e9242125b5272d8fafb93d6c6",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/secapi/wmemmove_s.c"
    }
  ]
}
