I don’t think the current code is incorrect, but using size_t improves readability because the type makes it clear that we’re dealing with array indices.
Also, making the result of the ECMULT_TABLE_SIZE macro (hopefully) a size_t fixes a compiler warning on MSVC, see #1791.