Made counts be unsigned.

This commit is contained in:
warren%netscape.com 1998-09-01 00:17:09 +00:00
parent 0448336f5c
commit f06fe720a9
2 changed files with 3 additions and 3 deletions

View File

@ -238,7 +238,7 @@ PL_VectorSet(PLVector* v, PRUint32 index, void* newElement)
}
/* Adds at the end */
PR_IMPLEMENT(PRInt32)
PR_IMPLEMENT(PRUint32)
PL_VectorAdd(PLVector* v, void* newElement)
{
PRUint32 index = v->size;
@ -248,7 +248,7 @@ PL_VectorAdd(PLVector* v, void* newElement)
}
#endif
PL_VectorSet(v, index, newElement);
return (PRInt32)index;
return index;
}
/* Inserts new element count times at index */

View File

@ -77,7 +77,7 @@ PR_EXTERN(void)
PL_VectorSet(PLVector* v, PRUint32 index, void* newElement);
/* Adds at the end */
PR_EXTERN(PRInt32)
PR_EXTERN(PRUint32)
PL_VectorAdd(PLVector* v, void* newElement);
/* Inserts new element count times at index */