Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
search.c: Fix build failure due new GCC
The warning by GCC is false positive because we don't access the freed memory in the scope, only the pointer memory which contained address of allocated memory on the heap, and used that for updating index pointer. Using ptrdiff_t struct before realloc works the warning around.
- Loading branch information