From 65c8494698f65525e26fc6f6a4a00bcbbf10fa58 Mon Sep 17 00:00:00 2001 From: Arnavion Date: Mon, 8 Dec 2014 21:25:00 -0800 Subject: Removed some unnecessary casts. --- src/common/util.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/common') diff --git a/src/common/util.c b/src/common/util.c index c35c098c..210951be 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -1791,9 +1791,7 @@ challengeauth_response (char *username, char *password, char *challenge) g_string_append_printf (buf, "%02x", (unsigned int) digest[i]); } - digest = (unsigned char *) g_string_free (buf, FALSE); - - return (char *) digest; + return g_string_free (buf, FALSE); } #endif -- cgit 1.4.1