Removed some unnecessary casts.

This commit is contained in:
Arnavion
2014-12-08 21:25:00 -08:00
parent 2b94011fdc
commit 65c8494698
2 changed files with 4 additions and 6 deletions

View File

@@ -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