From ad4dc7448257c229860206b078e02778bcb1b408 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 2 Nov 2004 03:02:17 +0000 Subject: Use a stricter set of warnings; make them all pass. svn:r2645 --- src/common/test.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/test.h') diff --git a/src/common/test.h b/src/common/test.h index 81d54b88f3..656d9ba517 100644 --- a/src/common/test.h +++ b/src/common/test.h @@ -108,7 +108,7 @@ extern int have_failed; #define test_memeq(expr1, expr2, len) \ STMT_BEGIN \ - void *v1=(expr1), *v2=(expr2); \ + const void *v1=(expr1), *v2=(expr2); \ if(!memcmp(v1,v2,(len))) { printf("."); fflush(stdout); } else { \ have_failed = 1; \ printf("\nFile %s: line %d (%s): Assertion failed: (%s==%s)\n", \ -- cgit v1.2.3-54-g00ecf