diff --git a/get_image.cpp b/get_image.cpp index 0fa5ed3..a6f9161 100644 --- a/get_image.cpp +++ b/get_image.cpp @@ -151,7 +151,7 @@ int render( template 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;