ref: 4aafe28c24ab5d1439631278a122251c6afc77d4
parent: 094e3fb0ee4dd4b8aaaca40da90bf770ae42674f
author: Ori Bernstein <ori@eigenstate.org>
date: Thu Aug 25 13:30:21 EDT 2016
Use an unsigned long long for ~0
--- a/6/genp9.c
+++ b/6/genp9.c
@@ -296,7 +296,7 @@
n = 0;
shift = 8 - i;
- b = ~0 << (shift + 1);
+ b = ~0ull << (shift + 1);
b |= val & ((1 << (8 - shift)) - 1);
fprintf(fd, "\tDATA %s+%zd(SB)/1,$%u\n", lbl, off, b);
val >>= shift;