Skip to content

Commit

Permalink
[graphite] Match signedness in GlatEntry loop for Glat v3
Browse files Browse the repository at this point in the history
  • Loading branch information
kahsieh authored and khaledhosny committed Sep 8, 2017
1 parent 8803a92 commit f87b455
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/glat.cc
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ GlatEntry::ParsePart(Buffer& table) {
}

//this->attributes.resize(this->num);
for (unsigned i = 0; i < this->num; ++i) {
for (int i = 0; i < this->num; ++i) {
this->attributes.emplace_back();
if (!table.ReadS16(&this->attributes[i])) {
return parent->Error("GlatEntry: Failed to read attribute %u", i);
Expand Down

0 comments on commit f87b455

Please sign in to comment.