mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
Ensure consistent sources up to 5.0 where a C++ problem occurs.
client/mysqladmin.c: Cast to overcome a C vs. C++ signature problem, occurring in 5.0 where this is a C++ file.
This commit is contained in:
parent
a9aff01ebd
commit
55ea7c8b0e
1 changed files with 1 additions and 1 deletions
|
@ -554,7 +554,7 @@ static int execute_commands(MYSQL *mysql,int argc, char **argv)
|
|||
{
|
||||
char *pos,buff[40];
|
||||
ulong sec;
|
||||
pos=strchr(status,' ');
|
||||
pos= (char*) strchr(status,' ');
|
||||
*pos++=0;
|
||||
printf("%s\t\t\t",status); /* print label */
|
||||
if ((status=str2int(pos,10,0,LONG_MAX,(long*) &sec)))
|
||||
|
|
Loading…
Add table
Reference in a new issue