From d6f188be71425a1c5441999734feaf73c6a7c8c9 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Thu, 10 May 2001 00:09:43 +0000 Subject: [PATCH] Fix warning with DEBUG_SAFESTACK --- crypto/ui/ui_lib.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crypto/ui/ui_lib.c b/crypto/ui/ui_lib.c index 132236fe65..cf87f06a6a 100644 --- a/crypto/ui/ui_lib.c +++ b/crypto/ui/ui_lib.c @@ -92,9 +92,8 @@ UI *UI_new_method(const UI_METHOD *method) return ret; } -static void free_string(void *data) +static void free_string(UI_STRING *uis) { - UI_STRING *uis = (UI_STRING *)data; if (uis->flags & OUT_STRING_FREEABLE) OPENSSL_free((char *)uis->out_string); OPENSSL_free(uis); -- 2.25.1