From f9162bc0856f21f4e0b90e7fa31f08d317ec725e Mon Sep 17 00:00:00 2001 From: Janos SUTO Date: Wed, 27 Nov 2019 20:45:30 +0100 Subject: [PATCH] Fixed another make_random_string() call Signed-off-by: Janos SUTO --- src/smtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/smtp.c b/src/smtp.c index b0eb07b2..6f77cdae 100644 --- a/src/smtp.c +++ b/src/smtp.c @@ -310,5 +310,5 @@ void process_command_reset(struct smtp_session *session){ reset_bdat_counters(session); memset(&(session->ttmpfile[0]), 0, SMALLBUFSIZE); - make_random_string(&(session->ttmpfile[0]), QUEUE_ID_LEN); + make_random_string((unsigned char *)&(session->ttmpfile[0]), QUEUE_ID_LEN); }