Skip to content

Commit cc359ea

Browse files
committed
Remove a type cast, and use correct format instead
1 parent bb4f4b3 commit cc359ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugin/server_audit/server_audit.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2659,8 +2659,8 @@ static int check_users(void *save, struct st_mysql_value *value,
26592659
{
26602660
error_header();
26612661
fprintf(stderr,
2662-
"server_audit_%s_users value can't be longer than %ld characters.\n",
2663-
name, (long int) s);
2662+
"server_audit_%s_users value can't be longer than %zu characters.\n",
2663+
name, s);
26642664
return 1;
26652665
}
26662666
*((const char**)save)= users;

0 commit comments

Comments
 (0)