From 7ea1cdb7d31f00024f5a1d124b42cd19a03b959a Mon Sep 17 00:00:00 2001 From: Nicholas Date: Wed, 10 Nov 2021 20:12:45 -0800 Subject: chore: libunicode -> libutf --- include/base.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/base.h') 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; -- cgit v1.2.1