error: ordered comparison between pointer and zero
environment) macOS Mojave
% cc --version
Apple LLVM version 10.0.0 (clang-1000.10.44.4)
Target: x86_64-apple-darwin18.2.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
error log)
SyntaxViewer.cpp:2505:40: error: ordered comparison between pointer and zero
('uint8_t *' (aka 'unsigned char *') and 'int')
if(pSei -> pre_lut_num_val_minus1> 0)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ ~
SyntaxViewer.cpp:2553:41: error: ordered comparison between pointer and zero
('uint8_t *' (aka 'unsigned char *') and 'int')
if(pSei -> post_lut_num_val_minus1> 0)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ ~
3 warnings and 2 errors generated.
make: *** [../../build/qt/SyntaxViewer.o] Error 1
error: ordered comparison between pointer and zero
environment) macOS Mojave
error log)