From: keie Date: Mon, 10 Jun 1985 10:53:15 +0000 (+0000) Subject: Adapted by Sjoerd to amoeba. X-Git-Tag: release-5-5~5448 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=42c2a9754f30d9f4c98889d8b39fff0bd9bda203;p=ack.git Adapted by Sjoerd to amoeba. --- diff --git a/util/led/byte_order.c b/util/led/byte_order.c index 0172ec3de..08120b0bc 100644 --- a/util/led/byte_order.c +++ b/util/led/byte_order.c @@ -26,7 +26,7 @@ determine_ordering() bytes_reversed = TRUE; sp = (short *)&l; sp[0] = 0x0001; sp[1] = 0x0002; - if (l != 0x0001 + (0x0002 << 16)) + if (l != 0x0001 + (0x0002L << 16)) words_reversed = TRUE; } diff --git a/util/led/mach.c b/util/led/mach.c index e17bf1217..b93550762 100644 --- a/util/led/mach.c +++ b/util/led/mach.c @@ -6,7 +6,7 @@ * Now for Vax 11/750. */ -#define K 1024 +#define K 1024L mems[ALLOEMIT + 0].mem_left = 64 * K; mems[ALLOEMIT + 1].mem_left = 64 * K;