summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/ipptest/fimctest.c6
-rw-r--r--tests/rottest/rottest.c4
2 files changed, 4 insertions, 6 deletions
diff --git a/tests/ipptest/fimctest.c b/tests/ipptest/fimctest.c
index 4b7417e6..0c617f8e 100644
--- a/tests/ipptest/fimctest.c
+++ b/tests/ipptest/fimctest.c
@@ -371,7 +371,6 @@ int main(int argc, char **argv)
int display = IPP_CMD_M2M_FILE;
int test_vsync = 0;
const char *module = "exynos";
- char *modeset = NULL;
int i, count = 0;
struct connector con_args[2];
@@ -403,7 +402,6 @@ int main(int argc, char **argv)
sscanf(optarg, "%d", &operations);
break;
case 's':
- modeset = strdup(optarg);
con_args[count].crtc = -1;
if (sscanf(optarg, "%d:%64s",
&con_args[count].id,
@@ -489,11 +487,11 @@ int main(int argc, char **argv)
if (display == IPP_CMD_M2M_FILE) {
for (i = 0; i < MAX_LOOP && usec[i] != 0; i++) {
- printf("[%d] : %d\n", i + 1, usec[i]);
+ printf("[%d] : %ld\n", i + 1, usec[i]);
sum += usec[i];
}
printf("fimc : result files are in %s\n", RESULT_PATH);
- printf("avg : [%d]\n", (i ? sum / i : 0));
+ printf("avg : [%ld]\n", (i ? sum / i : 0));
}
getchar();
}
diff --git a/tests/rottest/rottest.c b/tests/rottest/rottest.c
index edcbf5d8..5ac40d83 100644
--- a/tests/rottest/rottest.c
+++ b/tests/rottest/rottest.c
@@ -443,11 +443,11 @@ int main(int argc, char **argv)
rotator_1_N_set_mode(con_args, count, test_vsync, usec);
for (i = 0; i < MAX_LOOP * MAX_BUF; i++) {
- printf("[%d] : %d\n", i + 1, usec[i]);
+ printf("[%d] : %ld\n", i + 1, usec[i]);
sum += usec[i];
}
printf("rotator : result files are in %s\n", RESULT_PATH);
- printf("avg : [%d]\n", sum / MAX_LOOP);
+ printf("avg : [%ld]\n", sum / MAX_LOOP);
getchar();
}