diff options
author | Tim Potter <tpot@samba.org> | 2003-11-05 18:28:29 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2003-11-05 18:28:29 +0000 |
commit | f59bd268945960ddd90fccf7cf7b077e1bdf41f2 (patch) | |
tree | cb87a6a1571685f796e4b0a2b499d80d23535a81 /source3/printing/print_generic.c | |
parent | 150fb8ea588d012a31837884d2843ad3040ce0c9 (diff) | |
download | samba-f59bd268945960ddd90fccf7cf7b077e1bdf41f2.tar.gz samba-f59bd268945960ddd90fccf7cf7b077e1bdf41f2.tar.bz2 samba-f59bd268945960ddd90fccf7cf7b077e1bdf41f2.zip |
Merge of 64-bit printf warning fixes.
(This used to be commit a6cc763333943bc6e360bb7e78cf9bfb1bc936e8)
Diffstat (limited to 'source3/printing/print_generic.c')
-rw-r--r-- | source3/printing/print_generic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/print_generic.c b/source3/printing/print_generic.c index 0b062ebdd9..1c847448da 100644 --- a/source3/printing/print_generic.c +++ b/source3/printing/print_generic.c @@ -164,7 +164,7 @@ static int generic_job_submit(int snum, struct printjob *pjob) pstrcpy(jobname, pjob->jobname); pstring_sub(jobname, "'", "_"); slprintf(job_page_count, sizeof(job_page_count)-1, "%d", pjob->page_count); - slprintf(job_size, sizeof(job_size)-1, "%d", pjob->size); + slprintf(job_size, sizeof(job_size)-1, "%lu", (unsigned long)pjob->size); /* send it to the system spooler */ ret = print_run_command(snum, |