| Index: nspr/pr/src/misc/prcountr.c
|
| ===================================================================
|
| --- nspr/pr/src/misc/prcountr.c (revision 257452)
|
| +++ nspr/pr/src/misc/prcountr.c (working copy)
|
| @@ -145,7 +145,7 @@
|
| 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_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 */
|
|
|