X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=main.cpp;h=9e8bfc7f9c83313510ca8b186102ecc4297f66c3;hb=79efbc53ba089330f407335f70f8e33dabf869b8;hp=43c8cb8e965c1c22bb947d3be71d7d3bf39d2613;hpb=1d478458c2b7b314a48981ceb3264ebc852df40d;p=pulseview.git diff --git a/main.cpp b/main.cpp index 43c8cb8e..9e8bfc7f 100644 --- a/main.cpp +++ b/main.cpp @@ -86,7 +86,7 @@ int main(int argc, char *argv[]) {0, 0, 0, 0} }; - const char c = getopt_long(argc, argv, + const int c = getopt_long(argc, argv, "Vh?", long_options, NULL); if (c == -1) break;