diff options
author | Evan Hunter <evan@ozhiker.com> | 2016-02-21 21:08:05 +0000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2016-03-27 13:55:00 +1000 |
commit | d8a163f004e173441f05a5e6718fcc9728c82f81 (patch) | |
tree | f88bf93ccc0b701492b191c99fdcae1ee1fa11a4 | |
parent | dfe94401f8ec9bbd5ea615e97a0bcb8df81c7ed1 (diff) | |
download | jimtcl-d8a163f004e173441f05a5e6718fcc9728c82f81.zip jimtcl-d8a163f004e173441f05a5e6718fcc9728c82f81.tar.gz jimtcl-d8a163f004e173441f05a5e6718fcc9728c82f81.tar.bz2 |
Fix shift operator so result is the expected 64 bit value
-rw-r--r-- | jim.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -13876,10 +13876,10 @@ static int Jim_CatchCoreCommand(Jim_Interp *interp, int argc, Jim_Obj *const *ar } if (ignore) { - ignore_mask |= (1 << option); + ignore_mask |= ((jim_wide)1 << option); } else { - ignore_mask &= ~(1 << option); + ignore_mask &= (~((jim_wide)1 << option)); } } |