summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/nss/nspr/pr/src/misc/prcountr.c
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/nss/nspr/pr/src/misc/prcountr.c')
-rw-r--r--chromium/third_party/nss/nspr/pr/src/misc/prcountr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/chromium/third_party/nss/nspr/pr/src/misc/prcountr.c b/chromium/third_party/nss/nspr/pr/src/misc/prcountr.c
index e47ff1b6770..0f126ad089b 100644
--- a/chromium/third_party/nss/nspr/pr/src/misc/prcountr.c
+++ b/chromium/third_party/nss/nspr/pr/src/misc/prcountr.c
@@ -145,7 +145,7 @@ PR_IMPLEMENT(PRCounterHandle)
break;
}
qnp = (QName *)PR_NEXT_LINK( &qnp->link );
- } while( qnp != (QName *)PR_LIST_HEAD( &qNameList ));
+ } while( qnp != (QName *)&qNameList );
}
/*
** If we did not find a matching QName,
@@ -174,7 +174,7 @@ PR_IMPLEMENT(PRCounterHandle)
*/
PR_ASSERT( strcmp(rnp->name, rName));
rnp = (RName *)PR_NEXT_LINK( &rnp->link );
- } while( rnp != (RName *)PR_LIST_HEAD( &qnp->rNameList ));
+ } while( rnp != (RName *)&qnp->rNameList );
}
/* Get a new RName structure; initialize its members */