summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/trivial/tri-2101010.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/trivial/tri-2101010.c b/src/trivial/tri-2101010.c
index f8e8e09e..34b03fc4 100644
--- a/src/trivial/tri-2101010.c
+++ b/src/trivial/tri-2101010.c
@@ -75,9 +75,9 @@ static void Key(unsigned char key, int x, int y)
#define i32to10(x) ((x) >= 0 ? (x & 0x1ff) : 1024-(abs((x))& 0x1ff))
#define i32to2(x) ((x) >= 0 ? (x & 0x1) : 3-abs((x)))
-static uint32_t iconv(int x, int y, int z, int w)
+static unsigned iconv(int x, int y, int z, int w)
{
- uint32_t val;
+ unsigned val;
val = i32to10(x);
val |= i32to10(y) << 10;