Fix a signed/unsigned warning by using an unsigned int to compare against the result of sizeof(). bug 114241, r=bbaetz, sr=shaver.

This commit is contained in:
bryner%netscape.com 2001-12-08 22:05:01 +00:00
parent fc52db848e
commit 0dec223ecf

View File

@ -174,7 +174,7 @@ XPT_PUBLIC_API(PRBool)
XPT_DoHeaderPrologue(XPTArena *arena, XPTCursor *cursor, XPTHeader **headerp, PRUint32 * ide_offset)
{
XPTMode mode = cursor->state->mode;
int i;
unsigned int i;
XPTHeader * header;
if (mode == XPT_DECODE) {