7c084f620e
- fix build failures in i386 and amd64 due to compiler changes - fix numerous compilation warnings and logical errors that may trap in the future - convert all distribution files from DOS format to ease future changes - convert legacy patch file to new naming convention PR: 214990 Submitted by: bob@eager.cx (maintainer)
20 lines
1.2 KiB
C
20 lines
1.2 KiB
C
--- PDP11/pdp11_ke.c.orig 2016-12-01 22:43:42 UTC
|
|
+++ PDP11/pdp11_ke.c
|
|
@@ -252,7 +252,7 @@ switch (PA & 017) {
|
|
data = data & 077; /* 6b shift count */
|
|
if (data != 0) {
|
|
t32 = (ke_AC << 16) | ke_MQ; /* 32b operand */
|
|
- if (sign = GET_SIGN_W (ke_AC)) /* sext operand */
|
|
+ if ((sign = GET_SIGN_W (ke_AC))) /* sext operand */
|
|
t32 = t32 | ~017777777777;
|
|
if (data < 32) { /* [1,31] - left */
|
|
sout = (t32 >> (32 - data)) | (-sign << data);
|
|
@@ -282,7 +282,7 @@ switch (PA & 017) {
|
|
data = data & 077; /* 6b shift count */
|
|
if (data != 0) {
|
|
t32 = (ke_AC << 16) | ke_MQ; /* 32b operand */
|
|
- if (sign = GET_SIGN_W (ke_AC)) /* sext operand */
|
|
+ if ((sign = GET_SIGN_W (ke_AC))) /* sext operand */
|
|
t32 = t32 | ~017777777777;
|
|
if (data < 32) { /* [1,31] - left */
|
|
sout = (t32 >> (31 - data)) | (-sign << data);
|