mirror of
https://github.com/MariaDB/server.git
synced 2025-09-02 09:41:40 +03: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:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user