encoder.cpp: In function 'void encode(int, int*)':
encoder.cpp:6:28: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
6 | for (unsigned i = 0; i < N; i++)
| ~~^~~
decoder.cpp: In function 'void decode(int, int, int*)':
decoder.cpp:9:28: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
9 | for (unsigned i = 0; i < L; i++)
| ~~^~~
decoder.cpp:11:28: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
11 | for (unsigned i = 0; i < N; i++)
| ~~^~~