summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Weigt <juw@posteo.de>2026-01-24 08:47:10 +0100
committerJulian Weigt <juw@posteo.de>2026-02-04 15:57:00 +0100
commit706279112cf39551244b1435510c0bee96e5dc3f (patch)
treeb2d5501fd09988542867a9f22d3ee2bda55a9db2
parent64ff0a76657ed6e689c996d99c7b09e3a82629d3 (diff)
forgotten UL
-rw-r--r--charf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/charf.c b/charf.c
index 63ee0d8..b017532 100644
--- a/charf.c
+++ b/charf.c
@@ -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;