Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit b5c077c

Browse files
committed
Remove useless cast
1 parent 66f0cf7 commit b5c077c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/libpq/crypt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ md5_crypt_verify(const Port *port, const char *role, char *client_pass)
8989
{
9090
/* stored password already encrypted, only do salt */
9191
if (!pg_md5_encrypt(shadow_pass + strlen("md5"),
92-
(char *) port->md5Salt,
92+
port->md5Salt,
9393
sizeof(port->md5Salt), crypt_pwd))
9494
{
9595
pfree(crypt_pwd);

0 commit comments

Comments
 (0)