summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-02-19 13:36:20 -0800
committerJeremy Allison <jra@samba.org>2009-02-19 13:36:20 -0800
commit669f2a02e29195aaba8cb2f3e50cb2ce66b904a6 (patch)
tree07a9773027843d580f997e3c79740fde483112a0 /source3/printing
parent2ca48d3740c40be2142ca7e7ad88aabdaa822c06 (diff)
downloadsamba-669f2a02e29195aaba8cb2f3e50cb2ce66b904a6.tar.gz
samba-669f2a02e29195aaba8cb2f3e50cb2ce66b904a6.tar.bz2
samba-669f2a02e29195aaba8cb2f3e50cb2ce66b904a6.zip
Fix printf warnings found on systems where time_t <> long int.
Jeremy.
Diffstat (limited to 'source3/printing')
-rw-r--r--source3/printing/tests/vlp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/tests/vlp.c b/source3/printing/tests/vlp.c
index 15459889e9..286e4a4b39 100644
--- a/source3/printing/tests/vlp.c
+++ b/source3/printing/tests/vlp.c
@@ -168,7 +168,7 @@ static int lpq_command(int argc, char **argv)
job_list[i].size,
(i == 0 && job_list[i].status == LPQ_QUEUED) ?
LPQ_SPOOLING : job_list[i].status,
- job_list[i].submit_time, job_list[i].owner,
+ (long int)job_list[i].submit_time, job_list[i].owner,
job_list[i].jobname);
job_count++;
}