From 5f0d52cd5cd5cdaef7709ccc6c4dbcddb19f1dc5 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Tue, 8 Dec 2020 10:10:03 -0600 Subject: [PATCH] errSymLib Fix from Ivo Hanak Fixes lp: #1907077 --- modules/libcom/src/error/errSymLib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/libcom/src/error/errSymLib.c b/modules/libcom/src/error/errSymLib.c index 05a4b3eec..693f34dca 100644 --- a/modules/libcom/src/error/errSymLib.c +++ b/modules/libcom/src/error/errSymLib.c @@ -132,7 +132,7 @@ int errSymbolAdd(long errNum, const char *name) ***************************************************************/ static void errRawCopy(long statusToDecode, char *pBuf, size_t bufLength) { - epicsUInt16 modnum = (statusToDecode >>= 16) & 0xffff; + epicsUInt16 modnum = (statusToDecode >> 16) & 0xffff; epicsUInt16 errnum = statusToDecode & 0xffff; assert(bufLength > 20);