ports/security/cyrus-sasl2/patches/patch-plugins_cram_c

15 lines
382 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
64-bit time_t
Index: plugins/cram.c
--- plugins/cram.c.orig
+++ plugins/cram.c
@@ -135,7 +135,7 @@ static char *gettime(sasl_server_params_t *sparams)
/* the bottom bits are really the only random ones so if
we overflow we don't want to loose them */
- snprintf(ret,15,"%lu",t%(0xFFFFFF));
+ snprintf(ret,15,"%lld",t%(0xFFFFFF));
return ret;
}