Adapted by Sjoerd to amoeba.
authorkeie <none@none>
Mon, 10 Jun 1985 10:53:15 +0000 (10:53 +0000)
committerkeie <none@none>
Mon, 10 Jun 1985 10:53:15 +0000 (10:53 +0000)
util/led/byte_order.c
util/led/mach.c

index 0172ec3..08120b0 100644 (file)
@@ -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;
 }
 
index e17bf12..b935507 100644 (file)
@@ -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;