aboutsummaryrefslogtreecommitdiff
path: root/include/base.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/base.h')
-rw-r--r--include/base.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/base.h b/include/base.h
index a7813e6..b841040 100644
--- a/include/base.h
+++ b/include/base.h
@@ -261,12 +261,12 @@ int bufio·read(io·Buffer *buf, int sz, int n, void *out);
// -----------------------------------------------------------------------------
// memory mapped files
-typedef struct mmap·Reader
+typedef struct mmap·Reader
{
vlong len;
- union {
- byte *buf;
- ubyte *ubuf;
+ union{
+ char *b;
+ uchar *u;
};
} mmap·Reader;