aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/_uNview.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/_uNview.h b/include/_uNview.h
index 1001807..1edbfde 100644
--- a/include/_uNview.h
+++ b/include/_uNview.h
@@ -7,17 +7,17 @@
typedef struct {
const char8_t *p;
- size_t len;
+ ptrdiff_t len;
} u8view_t;
typedef struct {
const char16_t *p;
- size_t len;
+ ptrdiff_t len;
} u16view_t;
typedef struct {
const char32_t *p;
- size_t len;
+ ptrdiff_t len;
} u32view_t;
#endif /* !MLIB__UNVIEW_H */