Skip to content

Commit 4b3c98a

Browse files
levittesjaeckel
authored andcommitted
Remove unnecessary casts in the misc implementations
1 parent b98ef26 commit 4b3c98a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/misc/ssh/ssh_decode_sequence_multi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ int ssh_decode_sequence_multi(const unsigned char *in, unsigned long *inlen, ...
142142
err = CRYPT_INVALID_PACKET;
143143
goto error;
144144
} else {
145-
if ((err = mp_read_unsigned_bin(vdata, (unsigned char *)in, size)) != CRYPT_OK) { goto error; }
145+
if ((err = mp_read_unsigned_bin(vdata, in, size)) != CRYPT_OK) { goto error; }
146146
}
147147
in += size;
148148
break;

0 commit comments

Comments
 (0)