[Libva] [PATCH] Changed 'c' variable 'char' data type to 'int' data type (v2)

Lim Siew Hoon siew.hoon.lim at intel.com
Wed Jul 27 08:12:47 UTC 2016


The getopt_long func is return integer data type is more than 1 bytes.

Signed-off-by: Lim Siew Hoon <siew.hoon.lim at intel.com>
---
 test/encode/h264encode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/encode/h264encode.c b/test/encode/h264encode.c
index 649b245..8d8ea30 100644
--- a/test/encode/h264encode.c
+++ b/test/encode/h264encode.c
@@ -860,7 +860,7 @@ static int print_help(void)
 
 static int process_cmdline(int argc, char *argv[])
 {
-    char c;
+    int c;
     const struct option long_opts[] = {
         {"help", no_argument, NULL, 0 },
         {"bitrate", required_argument, NULL, 1 },
-- 
2.1.0



More information about the Libva mailing list