Maschell / dynamic_libs

21 stars 5 forks source link

Fix compiler warnings #8

Closed Crayon2000 closed 7 years ago

Crayon2000 commented 7 years ago

These are the two warnings that I have fixed in _osfunctions.c:

/src/dynamic_libs/os_functions.c: In function '_os_find_export':
/src/dynamic_libs/os_functions.c:171:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (i = 0; i < sizeof(a) - 1; i++)
                       ^
/src/dynamic_libs/os_functions.c:177:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (i = 0; i < sizeof(b) - 1; i++)
                       ^

I have also change tab to spaces in two files (_fsdefs.h & _syshidfunctions.h) and use u8 instead of uint8_t in the VPADData struct (_vpadfunctions.h).