Add a cast in jit_target_read_impl
authorSimon Marchi <simon.marchi@polymtl.ca>
Thu, 29 Oct 2015 17:41:14 +0000 (13:41 -0400)
committerSimon Marchi <simon.marchi@ericsson.com>
Thu, 29 Oct 2015 17:43:02 +0000 (13:43 -0400)
commitcb0a2700865a77a111994ced22fd68815e5eed63
treeb148e0286105fbfe33fa83ec9bd76e1115fc3bc6
parent15cf126c04a3720fb856f7f3bfb56869d5855939
Add a cast in jit_target_read_impl

We could change the signature of the function.  However, it would
require changing gdb_target_read in jit-reader.h, which is an exported
interface.  It's probably better to just add a cast in our code than to
break other people's code.

gdb/ChangeLog:

* jit.c (jit_target_read_impl): Add cast.
gdb/ChangeLog
gdb/jit.c