mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-30 20:06:56 -05:00
Add some more warning checks, and fix the ones reported
This commit is contained in:
parent
d493277ea1
commit
77117b1cd5
5 changed files with 23 additions and 14 deletions
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
static struct raid_func {
|
||||
const char *name;
|
||||
void *p;
|
||||
void (*p)();
|
||||
} RAID_FUNC[] = {
|
||||
{ "int8", raid_gen3_int8 },
|
||||
{ "int8", raid_gen4_int8 },
|
||||
|
|
@ -78,7 +78,7 @@ static struct raid_func {
|
|||
{ 0, 0 }
|
||||
};
|
||||
|
||||
static const char *raid_tag(void *func)
|
||||
static const char *raid_tag(void (*func)())
|
||||
{
|
||||
struct raid_func *i = RAID_FUNC;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue