<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/126948>126948</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [libc] rewrite mktime_internal to use `time_t` internally instead of `int64_t`
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            libc
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          nickdesaulniers
      </td>
    </tr>
</table>

<pre>
    See also: #126947.  The current implementation works for targets where `sizeof(time_t) == sizeof(int64_t)`, but we shouldn't make that assumption. Instead of using `int64_t` perhaps we can use `time_t`.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxkUb2OnDAQfhrTjA7BmOWnoLhktVLqpI8MDOCssZFnfKvL00egvZyiVC4-z_drmO3iiXp1-aIu18wkWUPsvR3vE7FJzluKnA1heu-_E4FxHJR-BYW6xLqrmhzgx0owphjJC9htd7SRFyM2eHiEeGeYQwQxcSFheKwUCVRdsP1NYVbYit3opyjsQOmr0lf4i1gvdXVCqi4UfoUhCTwIeA3JTV5hI7CZO4GsRsAwp20_ZHP45lnITBBmSGz9cgh-sNUF7BRXs_PBNRoPiU9HTyN1kWdTr6dOdyajvmx0p1vES5OtPTWmrWluqJ7qQV8GQ-OMUzuTLg2OHWW2xwIvBZZYNlVV6rwcx6KaqWhaXeimK1VV0Gasy5172_IQl8wyJ-rPNtvMmYEcn2sgOjuMCvHYJfbH_5chLayqwlkW_mQQK-5c8Dy4XCHSI1oh2O5nJuuFojcOJPyXFT5A9w72s7V_-spSdP0qsrPSrwpvCm-LlTUN-Rg2hbfDyPN52WP4RaMovJ25WOHtGe2txz8BAAD__75syUM">