diff options
Diffstat (limited to 'posix/tst-mmap.c')
-rw-r--r-- | posix/tst-mmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/posix/tst-mmap.c b/posix/tst-mmap.c index 7a57366903..e4db364301 100644 --- a/posix/tst-mmap.c +++ b/posix/tst-mmap.c @@ -11,10 +11,10 @@ main (void) { int result = 0; FILE *fp; - int c; + size_t c; char buf[1000]; int fd; - char *ptr; + unsigned char *ptr; size_t ps = sysconf (_SC_PAGESIZE); void *mem; |