summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeung-Woo Kim <sw0312.kim@samsung.com>2017-03-30 10:14:46 +0900
committerSeung-Woo Kim <sw0312.kim@samsung.com>2017-03-30 10:17:23 +0900
commit1b335512700fdb18625ba82b7f6f4d0362260b53 (patch)
tree4ee838af2af4cb2acbb55a9e69ff5b1ab0430a78
parentcaf83e2f1a744d5dfc5316d39a0fefe83e72e589 (diff)
downloadlibdrm-1b335512700fdb18625ba82b7f6f4d0362260b53.tar.gz
libdrm-1b335512700fdb18625ba82b7f6f4d0362260b53.tar.bz2
libdrm-1b335512700fdb18625ba82b7f6f4d0362260b53.zip
ipptest: add missed variable type
There is missed variable type, so it causes following warning. fimc.c: In function 'fimc_event_handler': fimc.c:585:9: warning: type defaults to 'int' in declaration of 'bmp_idx' static bmp_idx = 0; ^ Change-Id: Id775abce078e4866e25760adcfe4302d9d9f5346 Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
-rw-r--r--tests/ipptest/fimc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ipptest/fimc.c b/tests/ipptest/fimc.c
index dc19d352..638d12df 100644
--- a/tests/ipptest/fimc.c
+++ b/tests/ipptest/fimc.c
@@ -582,7 +582,7 @@ int fimc_event_handler(struct drm_exynos_ipp_queue_buf *src_qbuf,
char filename[100];
int ret = 0;
int src_buf_id, dst_buf_id;
- static bmp_idx = 0;
+ static int bmp_idx = 0;
len = read(fd, buffer, sizeof buffer);
if (len == 0)