Skip to content

Commit

Permalink
Remove warning about comparison of unsigned and signed
Browse files Browse the repository at this point in the history
  • Loading branch information
DRMacIver committed May 24, 2017
1 parent 063eb3b commit 936f0d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion get_image.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ int render(
template<typename T>
T *getArray(const json& j) {
T *a = new T[j.size()];
for (int i = 0; i < j.size(); i++) {
for (unsigned int i = 0; i < j.size(); i++) {
a[i] = j[i];
}
return a;
Expand Down

0 comments on commit 936f0d2

Please sign in to comment.