samples: Fixed some coverity issues. 17/173517/1
authorjoonbum.ko <joonbum.ko@samsung.com>
Thu, 22 Mar 2018 06:13:13 +0000 (15:13 +0900)
committerjoonbum.ko <joonbum.ko@samsung.com>
Thu, 22 Mar 2018 06:19:10 +0000 (15:19 +0900)
commite6f6efa1100e49a48a895020304662eb5afbba6d
tree41b55509a0dfc6b84b7299ad7e9e61191f9e88dc
parent783f3443dffb0186ba05e88e65e56833d31c0447
samples: Fixed some coverity issues.

 - samples/tri.c : CID 104865 - Argument cannot be negative.
                   CID 111624 - Wrong sizeof argument.
 - samples/vulkaninfo.c : CID 111617 - Wrong sizeof argument.

Change-Id: I7bbac16c958b50c9a2225851949d6799e1f90f1e
Signed-off-by: joonbum.ko <joonbum.ko@samsung.com>
samples/tri.c
samples/vulkaninfo.c