OSDN Git Service

signal.h: use an explicit cast to silent compiler warnings
authorSteve Rosenbluth <conceptoverdrive@sbcglobal.net>
Sun, 1 Jun 2008 14:33:00 +0000 (16:33 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 1 Jun 2008 18:23:57 +0000 (20:23 +0200)
commit141ae8478e2c45ce1ac9b480a979d7fa0f7fbc72
treee971aac47b59b1ab88da2dc1ba3da071f5cf8740
parente9e3590226a3220eb816da5e4051340ae61a376d
signal.h: use an explicit cast to silent compiler warnings

This patches include/linux/signal.h
There is an implicit cast from an integer to an
unsigned long (sigset_t) which causes compilers to generate warnings.
Different compilers could possibly produce different code.
This change has been tested over several years of use and is stable.

Signed-off-by: Willy Tarreau <w@1wt.eu>
include/linux/signal.h