summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-02-25 09:59:53 -0800
committerJeremy Allison <jra@samba.org>2009-02-25 09:59:53 -0800
commit15f108f0917eedab89199e9fbf93ed802eed7f89 (patch)
tree3778f1421f9614c0ecd9ffa669a792d4db33eaaf /source3/printing
parentd7c7b31bbaf110446ea835b66845ab6f0ee09231 (diff)
downloadsamba-15f108f0917eedab89199e9fbf93ed802eed7f89.tar.gz
samba-15f108f0917eedab89199e9fbf93ed802eed7f89.tar.bz2
samba-15f108f0917eedab89199e9fbf93ed802eed7f89.zip
Fix some NetBSD warnings.
Jeremy.
Diffstat (limited to 'source3/printing')
-rw-r--r--source3/printing/nt_printing.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c
index bbe8ebc2bc..b254ce0b95 100644
--- a/source3/printing/nt_printing.c
+++ b/source3/printing/nt_printing.c
@@ -1381,7 +1381,8 @@ static int file_version_is_newer(connection_struct *conn, fstring new_file, fstr
goto error_exit;
}
old_create_time = st.st_mtime;
- DEBUGADD(6,("file_version_is_newer: mod time = %ld sec\n", old_create_time));
+ DEBUGADD(6,("file_version_is_newer: mod time = %ld sec\n",
+ (long)old_create_time));
}
}
close_file(NULL, fsp, NORMAL_CLOSE);
@@ -1432,7 +1433,8 @@ static int file_version_is_newer(connection_struct *conn, fstring new_file, fstr
goto error_exit;
}
new_create_time = st.st_mtime;
- DEBUGADD(6,("file_version_is_newer: mod time = %ld sec\n", new_create_time));
+ DEBUGADD(6,("file_version_is_newer: mod time = %ld sec\n",
+ (long)new_create_time));
}
}
close_file(NULL, fsp, NORMAL_CLOSE);