Merge pull request #8 from Crayon2000/changes

Fix compiler warnings
This commit is contained in:
Maschell 2017-04-30 09:29:09 +02:00 committed by GitHub
commit ef06a0e3f2
4 changed files with 19 additions and 19 deletions

View File

@ -166,7 +166,7 @@ void _os_find_export(u32 handle, const char *funcName, void *funcPointer)
*/
char buf[256], *bufp = buf;
const char a[] = "Function ", b[] = " is NULL", *p;
int i;
unsigned int i;
for (i = 0; i < sizeof(a) - 1; i++)
*bufp++ = a[i];

View File

@ -99,9 +99,9 @@ typedef struct
VPADTPData tpdata1; /* Modified touchscreen data 1 */
VPADTPData tpdata2; /* Modified touchscreen data 2 */
char unknown6a[0xa0 - 0x6a];
uint8_t volume;
uint8_t battery; /* 0 to 6 */
uint8_t unk_volume; /* One less than volume */
u8 volume;
u8 battery; /* 0 to 6 */
u8 unk_volume; /* One less than volume */
char unknowna4[0xac - 0xa4];
} VPADData;