gdb/gdbserver/ChangeLog:
* server.c (handle_search_memory_1): Cast return value of
memmem.
+2015-10-29 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * server.c (handle_search_memory_1): Cast return value of
+ memmem.
+
2015-10-29 Simon Marchi <simon.marchi@polymtl.ca>
* server.c (write_qxfer_response): Change type of data to
? search_space_len
: search_buf_size);
- found_ptr = memmem (search_buf, nr_search_bytes, pattern, pattern_len);
+ found_ptr = (gdb_byte *) memmem (search_buf, nr_search_bytes, pattern,
+ pattern_len);
if (found_ptr != NULL)
{