FIXME note in src/parse.gperf re:compiler warnings

This commit is contained in:
Bill Kendrick 2021-10-24 00:59:06 -07:00
parent 0cd504ea9b
commit 4a3eacdbe2

View file

@ -303,5 +303,5 @@ void parse_one_option(struct cfginfo *restrict tmpcfg, const char *str, const ch
exit(53);
}
memcpy(offset+(char*)tmpcfg, &opt, sizeof(char*));
memcpy(offset+(char*)tmpcfg, &opt, sizeof(char*)); /* FIXME: This causes a warning; should it be 'sizeof(char)', or do we need to have the warning suppressed? -bjk 2021.10.14 */
}