Merge "Checking unsigned variable less than zero"

am: 0d264bf088

Change-Id: I3a5013ec09e81ce1daae78a91975884a1f8d7a81
This commit is contained in:
Tao Bao
2017-03-23 19:59:32 +00:00
committed by android-build-merger
+2 -2
View File
@@ -19,14 +19,14 @@
#include <stdint.h>
int asn1_context::peek_byte() const {
if (length_ <= 0) {
if (length_ == 0) {
return -1;
}
return *p_;
}
int asn1_context::get_byte() {
if (length_ <= 0) {
if (length_ == 0) {
return -1;
}