aboutsummaryrefslogtreecommitdiff
path: root/posix/tst-mmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'posix/tst-mmap.c')
-rw-r--r--posix/tst-mmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/posix/tst-mmap.c b/posix/tst-mmap.c
index 7a57366..e4db364 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;