When casting a "const void *" to a "struct foo **" you want to actually cast it to "struct foo * const *" not simply "const struct foo **". |
||
|---|---|---|
| .. | ||
| cardbus.c | ||
| cardbus_cis.c | ||
| cardbus_cis.h | ||
| cardbusreg.h | ||
| cardbusvar.h | ||
When casting a "const void *" to a "struct foo **" you want to actually cast it to "struct foo * const *" not simply "const struct foo **". |
||
|---|---|---|
| .. | ||
| cardbus.c | ||
| cardbus_cis.c | ||
| cardbus_cis.h | ||
| cardbusreg.h | ||
| cardbusvar.h | ||