Browse code

fix distcheck.

Török Edvin authored on 2011/10/10 18:02:16
Showing 3 changed files
... ...
@@ -50,6 +50,7 @@
50 50
 #include "clamav.h"
51 51
 
52 52
 #include "libclamav/others.h"
53
+#include "libclamav/str.h"
53 54
 
54 55
 #include "shared/optparser.h"
55 56
 #include "shared/output.h"
... ...
@@ -958,7 +958,7 @@ static void pdf_parseobj(struct pdf_struct *pdf, struct pdf_obj *obj)
958 958
 	    trailer = trailer_end - 1024;
959 959
 	    if (trailer < 0) trailer = 0;
960 960
 	    q2 = pdf->map + trailer;
961
-	    cli_dbgmsg("cli_pdf: looking for trailer in linearized pdf: %d - %d\n", trailer, trailer_end);
961
+	    cli_dbgmsg("cli_pdf: looking for trailer in linearized pdf: %ld - %ld\n", trailer, trailer_end);
962 962
 	    pdf->fileID = pdf_readstring(q2, trailer_end - trailer, "/ID", &pdf->fileIDlen);
963 963
 	    if (pdf->fileID)
964 964
 		cli_dbgmsg("found fileID\n");
... ...
@@ -1,6 +1,6 @@
1 1
 {
2 2
        glibc-tls
3
-       Memcheck:Free
3
+       Memcheck:Leak
4 4
        fun:*
5 5
        fun:_dl_allocate_tls
6 6
 }