From c4d10de5656e8f1f00491b8e2d905e531b9417f3 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 28 Nov 2019 14:53:17 -0600 Subject: [PATCH] Fix a warning found in build testing. --- sched/signal/sig_dispatch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sched/signal/sig_dispatch.c b/sched/signal/sig_dispatch.c index f78446eb294..3ffaa0fc1ae 100644 --- a/sched/signal/sig_dispatch.c +++ b/sched/signal/sig_dispatch.c @@ -317,7 +317,7 @@ int nxsig_tcbdispatch(FAR struct tcb_s *stcb, siginfo_t *info) */ if (sigismember(&stcb->sigprocmask, info->si_signo) || - (stcb->flags & TCB_FLAG_SYSCALL) != NULL) + (stcb->flags & TCB_FLAG_SYSCALL) != 0) { /* Check if the task is waiting for this pending signal. If so, then * unblock it. This must be performed in a critical section because