mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 12:32:27 +01:00
comp_err.c: return ha_checksum from checksum_format_specifier() - more correct, avoid a compiler warning
This commit is contained in:
parent
34c3cd810e
commit
fee7ab58c6
1 changed files with 2 additions and 2 deletions
|
@ -637,9 +637,9 @@ static struct message *find_message(struct errors *err, const char *lang,
|
|||
either.
|
||||
*/
|
||||
|
||||
static char checksum_format_specifier(const char* msg)
|
||||
static ha_checksum checksum_format_specifier(const char* msg)
|
||||
{
|
||||
char chksum= 0;
|
||||
ha_checksum chksum= 0;
|
||||
const char* p= msg;
|
||||
const char* start= 0;
|
||||
int num_format_specifiers= 0;
|
||||
|
|
Loading…
Reference in a new issue