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>2019-04-25 17:58:34 +0900
commit14c9b7ab8faf15c1b2bb25866e57bcee7888ce59 (patch)
treea25640526bfe4f3c67f56a6d9ccc07d189623254
parent2d3b46345e593b6deca142ec913f7b9a1f239a20 (diff)
downloadlibdrm-14c9b7ab8faf15c1b2bb25866e57bcee7888ce59.tar.gz
libdrm-14c9b7ab8faf15c1b2bb25866e57bcee7888ce59.tar.bz2
libdrm-14c9b7ab8faf15c1b2bb25866e57bcee7888ce59.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 9e8e9771..d8591289 100644
--- a/tests/ipptest/fimc.c
+++ b/tests/ipptest/fimc.c
@@ -578,7 +578,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)