From 9905b81e09c79be318167a861ab2c24baaaebded Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 14 Jun 2007 15:15:45 +0200 Subject: correct warning --- extra/perror.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extra/perror.c') diff --git a/extra/perror.c b/extra/perror.c index 6ab2afe0b71..f0b3d36f5d8 100644 --- a/extra/perror.c +++ b/extra/perror.c @@ -38,7 +38,7 @@ int mgmapi_error_string(int err_no, char *str, int size) int i; for (i= 0; i < ndb_mgm_noOfErrorMsgs; i++) { - if (ndb_mgm_error_msgs[i].code == err_no) + if ((int)ndb_mgm_error_msgs[i].code == err_no) { my_snprintf(str, size-1, "%s", ndb_mgm_error_msgs[i].msg); str[size-1]= '\0'; -- cgit v1.2.1