diff options
author | Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> | 2017-05-02 09:17:59 +0000 |
---|---|---|
committer | Senthil Kumar Selvaraj <saaadhu@gcc.gnu.org> | 2017-05-02 09:17:59 +0000 |
commit | 52e0a9f766c29557c52b6dbef536103d30d97e86 (patch) | |
tree | e5f3fdfd49ef358e613c354374c669e885a0ab19 /gcc/gdbhooks.py | |
parent | 05dbb83f9e3b783de3d666348b1d1a0e7895b09f (diff) | |
download | gcc-52e0a9f766c29557c52b6dbef536103d30d97e86.zip gcc-52e0a9f766c29557c52b6dbef536103d30d97e86.tar.gz gcc-52e0a9f766c29557c52b6dbef536103d30d97e86.tar.bz2 |
Fix broken pr78138.c for avr
The declaration for memcpy had the size parameter declared as
unsigned long. For avr, __SIZE_TYPE__ is unsigned int, and
this caused a builtin-declaration-mismatch warning, resulting
in a couple of FAILs.
Fixed by typedef'ing __SIZE_TYPE__ to size_t and using size_t as the
type for memcpy's third parameter.
From-SVN: r247483
Diffstat (limited to 'gcc/gdbhooks.py')
0 files changed, 0 insertions, 0 deletions