{"author":"Viktor Szakats","author_email":"commit@vsz.me","author_time":1753537073,"commit_time":1753716566,"committer":"Viktor Szakats","committer_email":"commit@vsz.me","hash":"975ab36531adf01970814cd81049bcc508c89c61","message":"lib517: use `LL` 64-bit literals & re-enable a test case (`time_t`)\n\nSuffix two 64-bit `time_t` test literals with `LL` to make them compile\nwith mingw-w64 x86_64 in C89 (the default) mode. Possibly other old gcc\ncompilers are affected (e.g. mips gcc 4.9.4, power gcc 15.1.0), but\ncould not pinpoint the exact rules. This also fixes a compiler warning\nand test failure with MSVC, allowing to re-enable a disabled test case.\n\n`LL` is not C89, but used in the code before this patch, which tells\nit's safe to use.\n\nAlso display expected / actual timestamp values as `curl_off_t` instead\nof `long`, making them work with 64-bit timestamps.\n\nThis was triggered by this issue seen while testing mingw-w64 gcc 4.8.1:\n```\ntests/libtest/lib517.c:147:5: error: this decimal constant is unsigned only in ISO C90\n     {\"Sun, 06 Nov 2044 08:49:37 GMT\", (time_t) 2362034977 },\n     ^\n```\nRef: https://github.com/curl/curl/actions/runs/16540378828/job/46780712313?pr=18010#step:12:32\n\nCloses #18032\n","parents":["6845533e24f6febc7a006224b8991de5da328667"],"tree_hash":"74efe4701e9687fcf85942ba1d343d1b392394e9"}