diff options
| -rw-r--r-- | charf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -194,7 +194,7 @@ int generate_each_charf(VALUETYPE* f, index_t i){ /*Set f to the values encoded in bit string t which is a value between 1 and powd = (1<<d)-2.*/ if(is_representative){ - for(int n=0; n<d; n++) f[n] = int_to_valuetype((t >> n) & 1); + for(int n=0; n<d; n++) f[n] = int_to_valuetype((t >> n) & 1UL); return d; } else return 0; |
