]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/result.c
Commit preliminary fix for ldap.conf base usage.
[openldap] / libraries / libldap / result.c
index 9cc47942c9ccd0bb7c38c986503d2e6855634877..a552c3f5435e40c6a1a4c8c9c46a722f1fe84e62 100644 (file)
@@ -149,7 +149,7 @@ wait4msg( LDAP *ld, int msgid, int all, struct timeval *timeout,
                    0, 0, 0 );
        } else {
                Debug( LDAP_DEBUG_TRACE, "wait4msg (timeout %ld sec, %ld usec)\n",
-                   timeout->tv_sec, timeout->tv_usec, 0 );
+                      (long) timeout->tv_sec, (long) timeout->tv_usec, 0 );
        }
 #endif /* LDAP_DEBUG */
 
@@ -249,7 +249,7 @@ wait4msg( LDAP *ld, int msgid, int all, struct timeval *timeout,
                        }
 
                        Debug( LDAP_DEBUG_TRACE, "wait4msg:  %ld secs to go\n",
-                               tv.tv_sec, 0, 0 );
+                              (long) tv.tv_sec, 0, 0 );
                        start_time = tmp_time;
                }
        }