freebsd-ports/sysutils/bacula-server/files/patch-src_lib_jcr.c
Wesley Shields 4cb9ddcc36 - Update to 3.0.0.
PR:		ports/133631
Submitted by:	Dan Langille <dan@langille.org> (maintainer)
2009-04-13 02:38:39 +00:00

13 lines
553 B
C

--- src/lib/jcr.c.orig 2009-04-12 11:07:07.079940037 -0400
+++ src/lib/jcr.c 2009-04-12 11:07:20.116947254 -0400
@@ -1063,8 +1063,8 @@
fprintf(fp, "\tuse_count=%i\n",
jcr->use_count());
#else
- fprintf(fp, "\tuse_count=%i threadid=0x%x\n",
- jcr->use_count(), (int)jcr->my_thread_id);
+ fprintf(fp, "\tuse_count=%i threadid=0x%lx\n",
+ jcr->use_count(), (long)jcr->my_thread_id);
#endif
fprintf(fp, "\tJobType=%c JobLevel=%c\n",
jcr->get_JobType(), jcr->get_JobLevel());