# \[PATCH 04/11\] unicode: mark the version field in struct unicode\_map unsigned

- From: Christoph Hellwig \<hch@lst.de\>
- Date: 2021-08-18 14:16:10 
- List: linux-ext4
- Page: https://ratatoskr.run/linux-ext4/2021/08/212710
- Thread: https://ratatoskr.run/linux-fsdevel/2021/08/212706/t.md

```text
unicode version tripplets are always unsigned.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 include/linux/unicode.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/unicode.h b/include/linux/unicode.h
index 6a392cd9f076..0744f81c4b5f 100644
--- a/include/linux/unicode.h
+++ b/include/linux/unicode.h
@@ -6,7 +6,7 @@
 #include <linux/dcache.h>
 
 struct unicode_map {
-	int version;
+	unsigned int version;
 };
 
 int utf8_validate(const struct unicode_map *um, const struct qstr *str);
-- 
2.30.2

```
