summaryrefslogtreecommitdiffstats
path: root/cpukit/httpd/webcomp.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-27 13:58:58 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-27 13:58:58 +0000
commit3f4b575df0b2ad83bb57b1fa4bfbe5f37f8abcac (patch)
tree090e2d665b704c2b4e215e255e9d2eb066d015bb /cpukit/httpd/webcomp.c
parentPatch from Emmanuel Raguet <raguet@crf.canon.fr> and Eric Valette (diff)
downloadrtems-3f4b575df0b2ad83bb57b1fa4bfbe5f37f8abcac.tar.bz2
Warnings removed. Still don't know what to do about the pragma
pack warnings in uemf.h.
Diffstat (limited to 'cpukit/httpd/webcomp.c')
-rw-r--r--cpukit/httpd/webcomp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/httpd/webcomp.c b/cpukit/httpd/webcomp.c
index 90767da01f..d642a144c0 100644
--- a/cpukit/httpd/webcomp.c
+++ b/cpukit/httpd/webcomp.c
@@ -73,8 +73,8 @@ static int compile(char_t *fileList, char_t *prefix)
char_t file[FNAMESIZE];
char_t *cp;
char buf[512];
- unsigned char *p;
- int j, i, len, fd, nFile;
+ char *p;
+ int j, i, len, fd, nFile;
/*
* Open list of files
@@ -159,8 +159,8 @@ static int compile(char_t *fileList, char_t *prefix)
fprintf(stdout, " { T(\"/%s\"), 0, 0 },\n", cp);
continue;
}
- fprintf(stdout, " { T(\"/%s\"), page_%d, %d },\n", cp, nFile,
- sbuf.st_size);
+ fprintf(stdout, " { T(\"/%s\"), page_%d, %ld },\n", cp, nFile,
+ (long) sbuf.st_size);
nFile++;
}
fclose(lp);