diff options
author | unknown <tsmith@quadxeon.mysql.com> | 2007-03-08 08:15:30 +0100 |
---|---|---|
committer | unknown <tsmith@quadxeon.mysql.com> | 2007-03-08 08:15:30 +0100 |
commit | 0a5780bc03a8876851fbaa4a0cfb8caa680c0535 (patch) | |
tree | 241ac1b4c7e401ad614b780db39119dff502b1d1 /extra/comp_err.c | |
parent | 12df5509e72eee78ac990fda1db63d46dcef92fd (diff) | |
download | mariadb-git-0a5780bc03a8876851fbaa4a0cfb8caa680c0535.tar.gz |
comp_err.c: return ha_checksum from checksum_format_specifier() - more correct, avoid a compiler warning
extra/comp_err.c:
return ha_checksum from checksum_format_specifier() - more correct, avoid a compiler warning
Diffstat (limited to 'extra/comp_err.c')
-rw-r--r-- | extra/comp_err.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extra/comp_err.c b/extra/comp_err.c index e5f7ed8d0ea..7cc4a0aa43f 100644 --- a/extra/comp_err.c +++ b/extra/comp_err.c @@ -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; |