Fix inline error with hash table
Don't needless cast malloc return value