Module Name: src Committed By: kamil Date: Tue Feb 27 11:15:53 UTC 2018
Modified Files: src/tests/lib/libc/sys: t_ucontext.c Log Message: Make the t_ucontext.c test more portable Cast _UC_MACHINE_*(&u) to (register_t). This allows to print the returned values with PRIxREGISTER. This corrects build failures on MIPS and HPPA. sizeof(int) == sizeof(long) on these 32-bit systems. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libc/sys/t_ucontext.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.