proc-service.c: Add (gdb_byte *) cast
authorSimon Marchi <simon.marchi@polymtl.ca>
Sat, 24 Oct 2015 22:36:25 +0000 (18:36 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Sat, 24 Oct 2015 22:36:25 +0000 (18:36 -0400)
commit49e66b4debebff088958077201eabab36df168f0
treefe7b22a6e63982336736cceafce117ca8f676ed9
parentcfcb22a541ab8f783bf667cf7afbbfd9cd243cce
proc-service.c: Add (gdb_byte *) cast

A cast here is necessary, just as it's necessary in ps_pdwrite just
below.  The type of buf can't be changed, since it's fixed in the ps_pd*
API.

gdb/ChangeLog:

* proc-service.c (ps_pdread): Add cast.
gdb/ChangeLog
gdb/proc-service.c