comp_err.c: return ha_checksum from checksum_format_specifier() - more...

comp_err.c:  return ha_checksum from checksum_format_specifier() - more correct, avoid a compiler warning
parent 34c3cd81
...@@ -637,9 +637,9 @@ static struct message *find_message(struct errors *err, const char *lang, ...@@ -637,9 +637,9 @@ static struct message *find_message(struct errors *err, const char *lang,
either. 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* p= msg;
const char* start= 0; const char* start= 0;
int num_format_specifiers= 0; int num_format_specifiers= 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment