Index: compiler-rt/trunk/test/dfsan/custom.cc =================================================================== --- compiler-rt/trunk/test/dfsan/custom.cc +++ compiler-rt/trunk/test/dfsan/custom.cc @@ -536,7 +536,7 @@ int ret4 = inet_pton(AF_INET, addr4, &in4); assert(ret4 == 1); ASSERT_READ_LABEL(&in4, sizeof(in4), i_label); - assert(in4.s_addr == 0x0100007f); + assert(in4.s_addr == htonl(0x7f000001)); char addr6[] = "::1"; dfsan_set_label(j_label, addr6 + 3, 1);