Fix warning with DEBUG_SAFESTACK
authorDr. Stephen Henson <steve@openssl.org>
Thu, 10 May 2001 00:09:43 +0000 (00:09 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 10 May 2001 00:09:43 +0000 (00:09 +0000)
crypto/ui/ui_lib.c

index 132236f..cf87f06 100644 (file)
@@ -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);