samba-vscan/icap vscan-icap_core.c,1.5.2.1,1.5.2.2

[email protected]
Newsgroups gmane.comp.security.virus.openantivirus.cvs
Message-ID <[email protected]>
Update of /cvsroot/openantivirus/samba-vscan/icap
In directory sc8-pr-cvs1:/tmp/cvs-serv22131/icap

Modified Files:
      Tag: VSCAN_0_3
	vscan-icap_core.c 
Log Message:
fix compiler warning

metze


Index: vscan-icap_core.c
===================================================================
RCS file: /cvsroot/openantivirus/samba-vscan/icap/vscan-icap_core.c,v
retrieving revision 1.5.2.1
retrieving revision 1.5.2.2
diff -u -d -r1.5.2.1 -r1.5.2.2
--- vscan-icap_core.c	14 Jul 2003 13:09:16 -0000	1.5.2.1
+++ vscan-icap_core.c	24 Sep 2003 11:02:15 -0000	1.5.2.2
@@ -124,9 +124,10 @@
         }
 
 	/* create Enculapsed header */
-        snprintf(ehs, sizeof(ehs), "%s %u\r\n\r\n", ENC_HEADER_S, stat_buf.st_size);
+        snprintf(ehs, sizeof(ehs), "%s %u\r\n\r\n", ENC_HEADER_S, 
+		(unsigned int)stat_buf.st_size);
 	/* create length information line */
-        snprintf(ls, sizeof(ls), "%x\r\n", stat_buf.st_size);
+        snprintf(ls, sizeof(ls), "%x\r\n", (unsigned int)stat_buf.st_size);
 	/* create "faked" HTTP Request Header */
 	snprintf(hrhs, sizeof(hrhs), "%s %s %s\r\n\r\n",
                         "GET",




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.