Fix debug %lu message.
authorJeremy Allison <jra@samba.org>
Thu, 28 Feb 2008 10:07:06 +0000 (02:07 -0800)
committerJeremy Allison <jra@samba.org>
Thu, 28 Feb 2008 10:07:06 +0000 (02:07 -0800)
Jeremy.
(This used to be commit 644a3be37a6760c9e25ac1b286c7c225096e8b0d)

source3/param/loadparm.c

index 79c522f77cd647ffc4c408c80901026ddcd5c357..71a5e90ea4f6fc6d25698f8cbc399f889647230c 100644 (file)
@@ -3503,8 +3503,8 @@ bool lp_file_list_changed(void)
                    libnet_conf_get_seqnum(conf_ctx, NULL, NULL))
                {
                        DEBUGADD(6, ("regdb seqnum changed: old = %lu, "
-                                    "new = %lu\n", conf_last_seqnum,
-                                    libnet_conf_get_seqnum(conf_ctx, NULL, NULL)));
+                                    "new = %lu\n", (unsigned long)conf_last_seqnum,
+                                    (unsigned long)libnet_conf_get_seqnum(conf_ctx, NULL, NULL)));
                        return true;
                } else {
                        /*