diff --git a/library/Text/Builder/UTF16.hs b/library/Text/Builder/UTF16.hs
--- a/library/Text/Builder/UTF16.hs
+++ b/library/Text/Builder/UTF16.hs
@@ -12,8 +12,8 @@
 
 {-# INLINE char #-}
 char :: Char -> UTF16View
-char =
-  unicodeCodePoint . ord
+char x =
+  unicodeCodePoint (ord x)
 
 {-# INLINE unicodeCodePoint #-}
 unicodeCodePoint :: Int -> UTF16View
diff --git a/text-builder.cabal b/text-builder.cabal
--- a/text-builder.cabal
+++ b/text-builder.cabal
@@ -1,5 +1,5 @@
 name: text-builder
-version: 0.6.6.1
+version: 0.6.6.2
 category: Text
 synopsis: An efficient strict text builder
 homepage: https://github.com/nikita-volkov/text-builder
@@ -23,7 +23,7 @@
     Text.Builder.Prelude
   build-depends:
     base >=4.10 && <5,
-    bytestring >=0.10 && <0.11,
+    bytestring >=0.10 && <0.12,
     deferred-folds >=0.9.10.1 && <0.10,
     text >=1 && <2,
     transformers >=0.5 && <0.6
