diff options
| author | Julian Weigt <juw@posteo.de> | 2026-01-24 08:47:10 +0100 |
|---|---|---|
| committer | Julian Weigt <juw@posteo.de> | 2026-02-04 15:57:00 +0100 |
| commit | 706279112cf39551244b1435510c0bee96e5dc3f (patch) | |
| tree | b2d5501fd09988542867a9f22d3ee2bda55a9db2 | |
| parent | 64ff0a76657ed6e689c996d99c7b09e3a82629d3 (diff) | |
forgotten UL
| -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; |
