[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: posixtm tests: Fix warnings seen on MidnightBSD/x86
From: |
Bruno Haible |
Subject: |
Re: posixtm tests: Fix warnings seen on MidnightBSD/x86 |
Date: |
Mon, 08 Feb 2021 21:39:01 +0100 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-197-generic; KDE/5.18.0; x86_64; ; ) |
> On MidnightBSD 2.0/x86 I see these warnings:
Oops, I pasted the wrong warnings. These are the actual warnings:
../../gltests/test-posixtm.c:180:62: warning: format '%ld' expects argument of
type 'long int', but argument 3 has type 'time_t {aka int}' [-Wformat=]
../../gltests/test-posixtm.c:180:70: warning: format '%ld' expects argument of
type 'long int', but argument 4 has type 'time_t {aka int}' [-Wformat=]