From 9857b59e53bba9ccdd5409fd50cf2924c5afb962 Mon Sep 17 00:00:00 2001 From: "Seungho, Baek" Date: Mon, 9 Sep 2019 10:49:22 +0900 Subject: [PATCH] Fix "runtime error: shift exponent 32 is too large for 32-bit type 'int'" error - Fix 1 to 1ULL. - if ( mSignalMask & (1ULL << (signum-1) ) ) Change-Id: I9c22bf0ea288a23e8d454d23c9ee50abef2dd6ad Signed-off-by: Seungho, Baek --- dali/internal/system/common/abort-handler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dali/internal/system/common/abort-handler.cpp b/dali/internal/system/common/abort-handler.cpp index fa70d22..696570e 100644 --- a/dali/internal/system/common/abort-handler.cpp +++ b/dali/internal/system/common/abort-handler.cpp @@ -47,7 +47,7 @@ AbortHandler::~AbortHandler() int signum; for ( signum = 1; signum < _NSIG; signum++ ) { - if ( mSignalMask & (1 << (signum-1) ) ) + if ( mSignalMask & (1ULL << (signum-1) ) ) { // set signals back to default handling signal( signum, mSignalOldHandlers[signum-1] ); @@ -70,7 +70,7 @@ bool AbortHandler::AbortOnSignal( int signum ) if ( SIG_ERR != signalHandlerPrevious ) { mSignalOldHandlers[signum-1] = signalHandlerPrevious; - mSignalMask |= ( 1 << (signum-1) ); + mSignalMask |= ( 1ULL << (signum-1) ); status = true; } } -- 2.7.4