Commit 30809f65 authored by unknown's avatar unknown

Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb

into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb
parents 0e0a691c 7178ab4a
...@@ -38,7 +38,7 @@ int mgmapi_error_string(int err_no, char *str, int size) ...@@ -38,7 +38,7 @@ int mgmapi_error_string(int err_no, char *str, int size)
int i; int i;
for (i= 0; i < ndb_mgm_noOfErrorMsgs; 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); my_snprintf(str, size-1, "%s", ndb_mgm_error_msgs[i].msg);
str[size-1]= '\0'; str[size-1]= '\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