Fix compilation error with pointer <-> value