Skip to content

Commit

Permalink
Bug 1211722 - Remove signed/unsigned comparison in pl_base64_decode_b…
Browse files Browse the repository at this point in the history
…uffer, r=kaie
  • Loading branch information
martinthomson committed Sep 25, 2017
1 parent f5afb96 commit 968a793
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/util/nssb64d.c
Expand Up @@ -249,7 +249,7 @@ pl_base64_decode_buffer(PLBase64Decoder *data, const unsigned char *in,
}
i = 0;

PR_ASSERT((out - data->output_buffer + 3) <= data->output_buflen);
PR_ASSERT((PRUint32)(out - data->output_buffer + 3) <= data->output_buflen);

/*
* Assume we are not at the end; the following function only works
Expand Down

0 comments on commit 968a793

Please sign in to comment.