diff --git a/src/flatc.cpp b/src/flatc.cpp index 7dcfec79fd72e839ecaf9eb9d1b583121bf5fdf1..91ecb25b5b9bd53990a6567263b35f9624b0f600 100755 --- a/src/flatc.cpp +++ b/src/flatc.cpp @@ -176,7 +176,7 @@ int main(int argc, const char *argv[]) { } } - if (!filenames.size()) Error("missing input files", nullptr, true); + if (!filenames.size()) Error("missing input files", false, true); if (!any_generator) Error("no options: specify one of -c -g -j -t -b etc.", true);