Fixed VC++ warnings.

This commit is contained in:
Camilla Berglund
2014-03-31 22:33:22 +02:00
parent 584879c759
commit ebb7145ccc
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -187,7 +187,7 @@ int getopt_long(int argc, char* const argv[], const char* optstring,
/* If longindex is not NULL, it points to a variable which is set to the
index of the long option relative to longopts. */
if (longindex)
*longindex = (match - longopts);
*longindex = (int) (match - longopts);
/* If flag is NULL, then getopt_long() shall return val.
Otherwise, getopt_long() returns 0, and flag shall point to a variable