Commit 0ef9c54c authored by Diego Biurrun's avatar Diego Biurrun

ifo_read: Mark literals as unsigned to avoid a comparison sign warning

src/ifo_read.c:1402:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
parent 20338232
......@@ -1399,7 +1399,7 @@ int ifoRead_PTL_MAIT(ifo_handle_t *ifofile) {
ifofile->ptl_mait = NULL;
return 0;
}
for (j = 0; j < ((ptl_mait->nr_of_vtss + 1) * 8); j++) {
for (j = 0; j < ((ptl_mait->nr_of_vtss + 1U) * 8U); j++) {
B2N_16(pf_temp[j]);
}
ptl_mait->countries[i].pf_ptl_mai = malloc(info_length);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment