Skip to content

Commit

Permalink
Merge pull request #312 from anarkiwi/squint
Browse files Browse the repository at this point in the history
getopt() wants an int, not a possibly signed char.
  • Loading branch information
cglewis authored May 7, 2020
2 parents b98b1f1 + bff6eba commit 7d08d39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pcap_to_node_pcap/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ int main(int argc, char* argv[])
bool paramWasSet = false;

int optionIndex = 0;
char opt = 0;
int opt = 0;

while((opt = getopt_long (argc, argv, "f:o:m:p:i:vh", PcapSplitterOptions, &optionIndex)) != -1)
{
Expand Down

0 comments on commit 7d08d39

Please sign in to comment.