aboutsummaryrefslogtreecommitdiff
path: root/tests/unit/unit1607.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/unit1607.c')
-rw-r--r--tests/unit/unit1607.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/unit1607.c b/tests/unit/unit1607.c
index 71c59939b..697b8b5c4 100644
--- a/tests/unit/unit1607.c
+++ b/tests/unit/unit1607.c
@@ -120,7 +120,7 @@ UNITTEST_START
for(i = 0; i < testnum; ++i, curl_easy_reset(easy)) {
int j;
- int addressnum = sizeof tests[i].address / sizeof *tests[i].address;
+ int addressnum = sizeof(tests[i].address) / sizeof(*tests[i].address);
struct Curl_addrinfo *addr;
struct Curl_dns_entry *dns;
struct curl_slist *list;