summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/math-buttons.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math-buttons.c b/src/math-buttons.c
index 8334706..1d96b3e 100644
--- a/src/math-buttons.c
+++ b/src/math-buttons.c
@@ -388,7 +388,7 @@ update_bit_panel(MathButtons *buttons)
for (i = 0; i < MAXBITS; i++) {
const gchar *label;
- if (bits & (1LL << (MAXBITS-i-1)))
+ if (bits & (1LLU << (MAXBITS-i-1)))
label = " 1";
else
label = " 0";