aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
-rw-r--r--expand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/expand.c b/expand.c
index f6bea6c3..30af7c2d 100644
--- a/expand.c
+++ b/expand.c
@@ -120,7 +120,7 @@ Float:
static int check_shift_count(struct expression *expr, struct symbol *ctype, unsigned int count)
{
if (count >= ctype->bit_size) {
- warning(expr->pos, "shift too big for type (%x)", ctype->ctype.modifiers);
+ warning(expr->pos, "shift too big for type (%lx)", ctype->ctype.modifiers);
count &= ctype->bit_size-1;
}
return count;