Skip to content

Commit

Permalink
cleanup: avoid comparison of integer expressions of different signedn…
Browse files Browse the repository at this point in the history
…ess (netsec-ethz#45)

This change enables compilation, e.g., with gcc 11.4.0.
  • Loading branch information
marcfrei authored Feb 26, 2024
1 parent 67df087 commit be1bbea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ calculate_nb_mbufs(uint16_t nb_lcores, uint16_t nports, uint16_t nb_rx_queue,
nports * nb_lcores * LF_MAX_PKT_BURST +
nports * n_tx_queue * nb_txd +
nb_lcores * LF_SETUP_MEMPOOL_CACHE_SIZE),
(unsigned)8192);
8192);
}

static int
Expand Down

0 comments on commit be1bbea

Please sign in to comment.