C compiler warning with json_reader

Platform: Windows
Language: C (compiled in visual studio)

I'm using the C_API's example "JSON" to manipulate JSON files within my own game.
In that example's main.c line 105 is this:

pd->json->decode(&decoder, (json_reader){ .read = pd->file->read, .userdata = file }, &val);

Which the compiler issues a warning about:
warning C4113: 'int (__cdecl *const )(SDFile *,void *,unsigned int)' differs in parameter lists from 'int (__cdecl *)(void *,uint8_t *,int)'

In my own game, I've manually silenced the warning since it seems benign but I thought it worth bringing to your attention because file->read is probably the most likely callback function people will want to use, so ideally the intended / primary use case doesn't issue compiler warnings :slight_smile: