The function mifare_desfire_get_file_ids() has a parameter uint8_t *files[].
The type describes an array of pointers to uint8_t. This is probably not the
type that was meant to be used, as the argument clearly should be a pointer to
an array of uint8_t, denoted as uint8_t (*files)[].
I suggest to change the type of files in the signature of
mifare_desfire_get_file_ids() to uint8_t (*files)[]. As the array decays to a
pointer in a function declaration, these two types should not make any
difference in a regard to the calling convention.
A similar issue exists in mifare_desfire_get_iso_file_ids() where the parameter
uint16_t *files[] should probably be type uint16_t (*files)[].
Original issue reported on code.google.com by fuz...@gmail.com on 5 Apr 2014 at 11:07
Original issue reported on code.google.com by
fuz...@gmail.com
on 5 Apr 2014 at 11:07