1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-28 18:39:03 +00:00

Fix some LGTM.com findings related to type widths

This commit is contained in:
dmiller
2019-12-20 21:51:01 +00:00
parent e356ad1123
commit 87a92c969f
3 changed files with 3 additions and 2 deletions

View File

@@ -215,7 +215,7 @@ void genfry(unsigned char *arr, int elem_sz, int num_elem) {
unsigned short *sptr;
unsigned int *iptr;
unsigned char *tmp;
int bpe;
size_t bpe;
if (sizeof(unsigned char) != 1)
fatal("%s() requires 1 byte chars", __func__);