arm-linux-nat.c: Add cast
authorSimon Marchi <simon.marchi@polymtl.ca>
Tue, 3 Nov 2015 18:33:14 +0000 (13:33 -0500)
committerSimon Marchi <simon.marchi@ericsson.com>
Tue, 3 Nov 2015 18:33:14 +0000 (13:33 -0500)
commitf844cf0ec3887110375e9c1d4c48a68cb6a8b141
treea6d1e0f0bad8132bfce62e8e8a178507b3c33ee0
parent171de4b8fb2bfe1be8a2f7f479047e51da05883e
arm-linux-nat.c: Add cast

Fixes:

/home/simark/src/binutils-gdb/gdb/arm-linux-nat.c: In function ‘const target_desc* arm_linux_read_description(target_ops*)’:
/home/simark/src/binutils-gdb/gdb/../include/libiberty.h:711:38: error: invalid conversion from ‘void*’ to ‘char*’ [-fpermissive]
 # define alloca(x) __builtin_alloca(x)
                                      ^
/home/simark/src/binutils-gdb/gdb/arm-linux-nat.c:578:13: note: in expansion of macro ‘alloca’
       buf = alloca (VFP_REGS_SIZE);
             ^

gdb/ChangeLog:

* arm-linux-nat.c (arm_linux_read_description): Add cast.
gdb/ChangeLog
gdb/arm-linux-nat.c