浏览代码

FIX gh-279 - Centos build warning

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 14 年之前
父节点
当前提交
82d0b1ce3c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      system/security/LdapSecurity/ldapconnection.hpp

+ 1 - 1
system/security/LdapSecurity/ldapconnection.hpp

@@ -374,7 +374,7 @@ public:
                         DBGLOG("LDAP bind error for user %s with %d - %s. %s", logonname.str(), rc, ldap_err2string(rc), msg&&*msg?msg:"");
                         ldap_memfree(msg);
 #else
-                        DBGLOG("LDAP bind error for user %s with 0x%lx - %s", username, rc, ldap_err2string(rc));
+                        DBGLOG("LDAP bind error for user %s with 0x%"I64F"x - %s", username, (unsigned __int64) rc, ldap_err2string(rc));
 #endif
                         return rc;
                     }