From fee7ab58c6daaf14fc1bd63f9b954b2834671a5c Mon Sep 17 00:00:00 2001 From: "tsmith@quadxeon.mysql.com" <> Date: Thu, 8 Mar 2007 08:15:30 +0100 Subject: [PATCH] comp_err.c: return ha_checksum from checksum_format_specifier() - more correct, avoid a compiler warning --- extra/comp_err.c | 4 ++-- 1 file 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;