diff options
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'; |