- Windows port, adjust %lld to %I64d, and warning in win_event.c.

git-svn-id: file:///svn/unbound/trunk@3040 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards
2014-01-16 16:01:37 +00:00
parent 5ff6ae3f51
commit 3ce7b4a6fa
12 changed files with 53 additions and 26 deletions
+1 -1
View File
@@ -189,7 +189,7 @@ readfile(rbtree_t* tree, const char* fname)
char buf[102400];
if(!in)
fatal_exit("could not open %s: %s", fname, strerror(errno));
printf("Reading %s of size %lld\n", fname, (long long)total);
printf("Reading %s of size " ARG_LL "d\n", fname, (long long)total);
while(fgets(buf, 102400, in)) {
buf[102400-1] = 0;
done += (off_t)strlen(buf);