diff options
author | Szabolcs Nagy <nsz@port70.net> | 2020-08-12 21:00:26 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2020-08-12 21:53:25 -0400 |
commit | 22359b54ab9a3ff0a854490f3eb0fcb838e785af (patch) | |
tree | 60bdbb3c6d3228f8e4bca17f6cfe3321a7d5b57a /compat/time32/nanosleep_time32.c | |
parent | 4554f155dd23a65fcdfd39f1d5af8af55ba37694 (diff) | |
download | musl-22359b54ab9a3ff0a854490f3eb0fcb838e785af.tar.gz |
aarch64: fix setjmp return value
longjmp should set the return value of setjmp, but 64bit
registers were used for the 0 check while the type is int.
use the code that gcc generates for return val ? val : 1;
Diffstat (limited to 'compat/time32/nanosleep_time32.c')
0 files changed, 0 insertions, 0 deletions