]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-monitor/rww.c
fix declarations of buffers for numeric strings; other related cleanup
[openldap] / servers / slapd / back-monitor / rww.c
index 652698889f7ce9d85984898ae45801711e646ff6..a99a1fd24345e6bd5eba68bece216e6791ca1487 100644 (file)
@@ -162,7 +162,7 @@ monitor_subsys_rww_update(
        struct berval   nrdn;
 
        Attribute       *a;
-       char            buf[] = "+9223372036854775807L";
+       char            buf[LDAP_PVT_INTTYPE_CHARS(long)];
        long            num = 0;
        ber_len_t       len;