Eliminated MSVC warnings

This commit is contained in:
Andrey Guskov
2015-01-26 16:26:07 +04:00
parent 05a64f1302
commit ed53df90a4
10 changed files with 31 additions and 26 deletions

View File

@@ -99,7 +99,7 @@ int main(int argc, char *argv[]) {
// time of three runs.
//
double minISPC = 1e30;
for (int i = 0; i < test_iterations[0]; ++i) {
for (unsigned int i = 0; i < test_iterations[0]; ++i) {
reset_and_start_timer();
mandelbrot_ispc(x0, y0, x1, y1, width, height, maxIterations, buf);
double dt = get_elapsed_mcycles();
@@ -119,7 +119,7 @@ int main(int argc, char *argv[]) {
// minimum time.
//
double minSerial = 1e30;
for (int i = 0; i < test_iterations[1]; ++i) {
for (unsigned int i = 0; i < test_iterations[1]; ++i) {
reset_and_start_timer();
mandelbrot_serial(x0, y0, x1, y1, width, height, maxIterations, buf);
double dt = get_elapsed_mcycles();