Index: tests/uniq_name/tester.c =================================================================== --- tests/uniq_name/tester.c (revision 37252) +++ tests/uniq_name/tester.c (revision 37253) @@ -55,7 +55,7 @@ if (e->value == NULL) printf("(nil)'\n"); else - printf("#%d'\n", ((int *)e->value) - values); + printf("#%d'\n", (int)(((int *)e->value) - values)); } }