[PATCH 4/7] examples: fix the type of search_hint