]> git.sur5r.net Git - openldap/blobdiff - libraries/liblber/debug.c
Merge remote-tracking branch 'origin/mdb.master'
[openldap] / libraries / liblber / debug.c
index cc38e85b44919e4b08d40e4ead4b3ff153caab4a..20010fdf0952ac78cb2a572d780de7f1b8fd78c3 100644 (file)
@@ -1,7 +1,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 1998-2011 The OpenLDAP Foundation.
+ * Copyright 1998-2012 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -62,7 +62,7 @@ void (lutil_debug)( int debug, int level, const char *fmt, ... )
        }
 #endif
 
-       sprintf(buffer, "%08x ", time(0L));
+       sprintf(buffer, "%08x ", (unsigned) time(0L));
        va_start( vl, fmt );
        vsnprintf( buffer+9, sizeof(buffer)-9, fmt, vl );
        buffer[sizeof(buffer)-1] = '\0';