aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/tcctest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tcctest.c b/tests/tcctest.c
index a604c4a..d8c8bcf 100644
--- a/tests/tcctest.c
+++ b/tests/tcctest.c
@@ -591,7 +591,7 @@ void enum_test()
{
enum test b1;
/* The following should give no warning */
- int *p = &b1;
+ unsigned *p = &b1;
printf("enum:\n%d %d %d %d %d %d\n",
E0, E1, E2, E3, E4, E5);
b1 = 1;