mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
17 lines
431 B
Plaintext
17 lines
431 B
Plaintext
fix build with llvm22
|
|
|
|
error: incompatible pointer types passing 'long *' to parameter of type 'const time_t *' (aka 'const long long *') [-Wincompatible-pointer-types]
|
|
|
|
Index: src/server/timer.c
|
|
--- src/server/timer.c.orig
|
|
+++ src/server/timer.c
|
|
@@ -145,7 +145,7 @@ static int check_interval(
|
|
time_t time_now)
|
|
{
|
|
char *cp;
|
|
- long min_time;
|
|
+ time_t min_time;
|
|
long seconds=0;
|
|
char tstmp[64]="";
|
|
char min_time_buf[64]="";
|