diff options
author | unknown <tomas@whalegate.ndb.mysql.com> | 2007-06-14 15:15:45 +0200 |
---|---|---|
committer | unknown <tomas@whalegate.ndb.mysql.com> | 2007-06-14 15:15:45 +0200 |
commit | 9905b81e09c79be318167a861ab2c24baaaebded (patch) | |
tree | 043f60e35a2820608dc33e40790b086f11e68550 /extra | |
parent | 12d1dece300ad0c04fedb1765bb8f88ea08d8ae2 (diff) | |
download | mariadb-git-9905b81e09c79be318167a861ab2c24baaaebded.tar.gz |
correct warning
Diffstat (limited to 'extra')
-rw-r--r-- | extra/perror.c | 2 |
1 files changed, 1 insertions, 1 deletions
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'; |