Bugzilla bug 119384: deleted two assertions that contained illegal type

casts.  The two functions that contained the assertions are very simple
so they can do without the assertions.  Thanks to Nick Blievers
<nickb@adacel.com.au> for reporting this bug and suggesting a fix.
This commit is contained in:
wtc%netscape.com 2002-01-23 01:49:25 +00:00
Родитель c7d82085a1
Коммит d67c5d1b84
1 изменённых файлов: 0 добавлений и 2 удалений

Просмотреть файл

@ -237,7 +237,6 @@ static void MakeIPv4MappedAddr(const char *v4, char *v6)
memset(v6, 0, 10);
memset(v6 + 10, 0xff, 2);
memcpy(v6 + 12, v4, 4);
PR_ASSERT(_PR_IN6_IS_ADDR_V4MAPPED(((PRIPv6Addr *) v6)));
}
/*
@ -247,7 +246,6 @@ static void MakeIPv4CompatAddr(const char *v4, char *v6)
{
memset(v6, 0, 12);
memcpy(v6 + 12, v4, 4);
PR_ASSERT(_PR_IN6_IS_ADDR_V4COMPAT(((PRIPv6Addr *) v6)));
}
/*