Rev 154 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 154 | Rev 156 | ||
|---|---|---|---|
| Line 147... | Line 147... | ||
| 147 | sscanf(args[3], "%d-%d", &line1, &line2); | 147 | sscanf(args[3], "%d-%d", &line1, &line2); | 
| 148 | else { | 148 | else { | 
| 149 | sscanf(args[3], "%d", &line1); | 149 | sscanf(args[3], "%d", &line1); | 
| 150 | line2 = 999; | 150 | line2 = 999; | 
| 151 |   } | 151 |   } | 
| 152 | annotate_margin = atof(args[4]) * PieceValues(white, pawn); | 152 | annotate_margin = (int) (atof(args[4]) * PieceValues(white, pawn)); // Pierre-Marie Baty -- added type cast | 
| 153 | annotate_search_time_limit = atof(args[5]) * 100; | 153 | annotate_search_time_limit = (int) (atof(args[5]) * 100); // Pierre-Marie Baty -- added type cast | 
| 154 | if (nargs > 6) | 154 | if (nargs > 6) | 
| 155 | best_moves = atoi(args[6]); | 155 | best_moves = atoi(args[6]); | 
| 156 |   else | 156 |   else | 
| 157 | best_moves = 1; | 157 | best_moves = 1; | 
| 158 | /* | 158 | /* |