Skip to content

Commit

Permalink
Fix cast
Browse files Browse the repository at this point in the history
  • Loading branch information
Andras Fekete committed Oct 21, 2024
1 parent e2536e3 commit 0207d17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sslSniffer/sslSnifferTest/snifftest.c
Original file line number Diff line number Diff line change
Expand Up @@ -1086,7 +1086,7 @@ int main(int argc, char** argv)
/* Jump to the selected adapter */
for (d = alldevs, i = 0; i < inum - 1; d = d->next, i++);
} else {
int deviceNameSz = XSTRLEN(deviceName);
int deviceNameSz = (int)XSTRLEN(deviceName);
for (d = alldevs; d; d = d->next) {
if (XSTRNCMP(d->name,deviceName,deviceNameSz) == 0) {
fprintf(stderr, "%s == %s\n", d->name, deviceName);
Expand Down

0 comments on commit 0207d17

Please sign in to comment.