Przeglądaj źródła

Made arith_sign more portable

ceriel 29 lat temu
rodzic
commit
35d142194c
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      lang/cem/cpp.ansi/ch3bin.c

+ 1 - 1
lang/cem/cpp.ansi/ch3bin.c

@@ -8,7 +8,7 @@
 #include	"Lpars.h"
 #include	"arith.h"
 
-#define arith_sign (1 << (sizeof(arith)*8-1))
+#define arith_sign (1L << (sizeof(arith)*8-1))
 
 ch3bin(pval, pis_uns, oper, val, is_uns)
 	register arith *pval, val;