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>2018-02-26 10:21:48 +0900
commitc66efecc0930fe3fcbcdb48db50cd6c9750b1f0f (patch)
tree0aac373dbe4a9e336b3e64c66a6462933300349d
parent2c86dfa74d72fe26406cf6d80586e13907935c66 (diff)
downloadlibdrm-c66efecc0930fe3fcbcdb48db50cd6c9750b1f0f.tar.gz
libdrm-c66efecc0930fe3fcbcdb48db50cd6c9750b1f0f.tar.bz2
libdrm-c66efecc0930fe3fcbcdb48db50cd6c9750b1f0f.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)