mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
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)
12 lines
560 B
C
12 lines
560 B
C
--- swtp6800/common/bootrom.c.orig 2016-12-01 22:43:43 UTC
|
|
+++ swtp6800/common/bootrom.c
|
|
@@ -144,7 +144,7 @@ t_stat BOOTROM_config (UNIT *uptr, int32
|
|
if (val == UNIT_NONE)
|
|
BOOTROM_unit.capac = 0; /* set EPROM size */
|
|
else
|
|
- BOOTROM_unit.capac = 0x200 << (val >> UNIT_V_MSIZE) - 1; /* set EPROM size */
|
|
+ BOOTROM_unit.capac = 0x200 << ((val >> UNIT_V_MSIZE) - 1); /* set EPROM size */
|
|
if (BOOTROM_unit.filebuf) { /* free buffer */
|
|
free (BOOTROM_unit.filebuf);
|
|
BOOTROM_unit.filebuf = NULL;
|