]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
tests/sys/fs/fusefs/read.cc: fix build on powerpc64
authorKonstantin Belousov <kib@FreeBSD.org>
Wed, 22 Sep 2021 22:47:10 +0000 (01:47 +0300)
committerKonstantin Belousov <kib@FreeBSD.org>
Thu, 23 Sep 2021 00:51:10 +0000 (03:51 +0300)
commit3fcbde5e883a253f631082b128dcdf77c840d4c0
treee2ccc7db9db36ede189c8d78464573d55b2a1679
parentb5f90655ea37dc01e48002f83f85c6e3fc7565d8
tests/sys/fs/fusefs/read.cc: fix build on powerpc64

There sig_atomic_t is shorter than void *.
As result, it cannot keep pointer.

Assigning to void * is actually safe for us in a signal handler.

Reviewed by: asomers
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Fixes: 4f917847c9037d
Differential revision: https://reviews.freebsd.org/D32064
tests/sys/fs/fusefs/read.cc