Skip to content

Commit cde46bc

Browse files
authored
remove negative check as requested
1 parent 26c16c2 commit cde46bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

euicc/hexutil.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ int euicc_hexutil_gsmbcd2bin(uint8_t *restrict output, const uint32_t output_len
8989
gsmbcd_swap_chars(bin, n + (n % 2));
9090
const int bytes = euicc_hexutil_hex2bin_r(output, output_len, bin, n + (n % 2));
9191
free(bin);
92-
if (bytes < 0) {
92+
if (bytes == -1) {
9393
return -1;
9494
}
9595
if (padding_to > (uint32_t)bytes) {

0 commit comments

Comments
 (0)