diff options
author | wtc%netscape.com <devnull@localhost> | 2002-01-23 01:49:25 +0000 |
---|---|---|
committer | wtc%netscape.com <devnull@localhost> | 2002-01-23 01:49:25 +0000 |
commit | 9dcb2398a9ac0aa43ad204afb1f4ca2b077ff688 (patch) | |
tree | a1be758a74f5cb8b9babe40f66a3097688cb79de | |
parent | 31b2489d78efcb7bad8562cd59ea43cf1a737a00 (diff) | |
download | nspr-hg-9dcb2398a9ac0aa43ad204afb1f4ca2b077ff688.tar.gz |
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.
-rw-r--r-- | pr/src/misc/prnetdb.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pr/src/misc/prnetdb.c b/pr/src/misc/prnetdb.c index 09558b4a..64006266 100644 --- a/pr/src/misc/prnetdb.c +++ b/pr/src/misc/prnetdb.c @@ -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))); } /* |