Use PTR_ALIGN_DOWN on strcspn and strspn
commit2e51bc3813ca3fe72fd197d08d79496e46669f43
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 1 Apr 2016 21:33:03 +0000 (1 18:33 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 1 Apr 2016 21:33:03 +0000 (1 18:33 -0300)
tree568b95b4c3761cd712b6d16092998335852a2606
parent344303f3cfc072469c7c32de90952871c108afd5
Use PTR_ALIGN_DOWN on strcspn and strspn

Tested on aarch64.

* string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
* string/strspn.c (strspn): Likewise.
ChangeLog
string/strcspn.c
string/strspn.c