-4
2つの関数があります。 1つはポインタの変換と互換性のない整数int型の式をint型に初期化する[-Wint変換]
struct node* symbol_search (sym_table_t* symTab, const char* name, int* hash, int* index) {
*hash = symbol_hash(name);
*index = (int) (*hash % symTab->capacity);...}
私はプログラムを実行すると、これを受け入れる。しかし、別の機能です。私は検索に電話したいが、彼らは私にハッシュやインデックスを与えていないので、私はこれをした:
symbol_t* symbol_find_by_name (sym_table_t* symTab, const char* name) {
int* hash = symbol_hash(name);
int* index = *hash % symTab->capacity;...}
その後、エラーがあります。