From 449fdba5482549361a4cd6376d877ebd5162988a Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Wed, 7 Sep 2022 11:07:56 -0700 Subject: SmcCloseConnection: remove unnecessary cast from free() commit b17f93a1d041e63261ff followed the style of the time it was written, before commit e77dd2e4bc8227 had removed them. Signed-off-by: Alan Coopersmith --- src/sm_client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sm_client.c b/src/sm_client.c index 13059ce..3c939b8 100644 --- a/src/sm_client.c +++ b/src/sm_client.c @@ -325,7 +325,7 @@ SmcCloseConnection(SmcConn smcConn, int count, char **reasonMsgs) while (ptr) { next = ptr->next; - free ((char *) ptr); + free (ptr); ptr = next; } } -- cgit v1.2.1