On Fri, Apr 18, 2025 at 09:54:00AM -0500, Andrew Hamilton wrote:
> Signed-off-by: Vladimir Serbinenko <[email protected]>
> Signed-off-by: Andrew Hamilton <[email protected]>
> static void
[...]
> date_test_iter (void)
> {
> - grub_int32_t tests[] = { -1, 0, +1, -2133156255, GRUB_INT32_MIN,
> + grub_int32_t tests[] = { -1, 0, +1, 978224552, -2133156255, -2110094321,
> GRUB_INT32_MIN,
> GRUB_INT32_MAX };
> + grub_int64_t tests64[] = { 5774965200LL, 4108700725LL, -5029179792LL };
... and I think it would be more correct to cast these values to
grub_int64_t instead of using "LL"...
Daniel
_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel