commit a74848db2faca86c6ed7b3c28b8e07337fa2a9eb
parent 310a6bed1ffc651f6e0a82d4fb1435d492ba0e76
Author: Kyle Milz <kyle@0x30.net>
Date: Sun, 15 Jan 2017 12:38:48 -0700
lib: use better types as pointed out by warnings
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib_unix.c b/lib_unix.c
@@ -38,7 +38,7 @@ void *
extend(size_t req_bytes)
{
size_t aligned_bytes;
- size_t len;
+ off_t len;
void *mem;
size_t page_mask;
@@ -68,7 +68,7 @@ extend(size_t req_bytes)
void
open_fd()
{
- char *procdir;
+ const char *procdir;
char procfile[PATH_MAX];
if ((procdir = getenv("CITRUN_PROCDIR")) == NULL)