mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
Fix compiler warning (use correct data type)
client/mysqltest.c: Use correct data type for dummy variable passed to dirname_part()
This commit is contained in:
parent
34deaeb47e
commit
ec7baf6eb1
1 changed files with 2 additions and 1 deletions
|
@ -1562,7 +1562,8 @@ void check_result(DYNAMIC_STRING* ds)
|
|||
Result mismatched, dump results to .reject file
|
||||
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);
|
||||
|
||||
if (access(reject_file, W_OK) == 0)
|
||||
|
|
Loading…
Reference in a new issue