Fix compiler warning (use correct data type)

parent d5740ef0
...@@ -1562,7 +1562,8 @@ void check_result(DYNAMIC_STRING* ds) ...@@ -1562,7 +1562,8 @@ void check_result(DYNAMIC_STRING* ds)
Result mismatched, dump results to .reject file Result mismatched, dump results to .reject file
and then show the diff and then show the diff
*/ */
char reject_file[FN_REFLEN], reject_length; char reject_file[FN_REFLEN];
size_t reject_length;
dirname_part(reject_file, result_file_name, &reject_length); dirname_part(reject_file, result_file_name, &reject_length);
if (access(reject_file, W_OK) == 0) if (access(reject_file, W_OK) == 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment