• Michael Ira Krufky's avatar
    check_cc_pid: fix error: format specifies type 'long' but the argument has... · 7f3b0217
    Michael Ira Krufky authored
    check_cc_pid: fix error: format specifies type 'long' but the argument has type 'int64_t' (aka 'long long') [-Werror,-Wformat]
    
    gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -Wall -Werror --std=gnu99 -D_GNU_SOURCE -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -DDVBPSI_DIST -MT check_cc_pid-check_cc_pid.o -MD -MP -MF .deps/check_cc_pid-check_cc_pid.Tpo -c -o check_cc_pid-check_cc_pid.o `test -f 'check_cc_pid.c' || echo './'`check_cc_pid.c
    check_cc_pid.c:69:20: error: format specifies type 'long' but the argument has type 'int64_t' (aka 'long long') [-Werror,-Wformat]
                       n, pid, pid, cc,
                       ^
    1 error generated.
    make[3]: *** [check_cc_pid-check_cc_pid.o] Error 1
    make[2]: *** [all-recursive] Error 1
    make[1]: *** [all-recursive] Error 1
    make: *** [all] Error 2
    Signed-off-by: default avatarMichael Ira Krufky <mkrufky@linuxtv.org>
    7f3b0217
check_cc_pid.c 1.59 KB