From b800448a3c295b391ef25ba3e0d014ba578a1db2 Mon Sep 17 00:00:00 2001 From: Rakib Ansary Saikot Date: Fri, 1 May 2020 20:09:53 +0600 Subject: [PATCH] Update to Swift 5.0 --- QRCode/CIColorExtension.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QRCode/CIColorExtension.swift b/QRCode/CIColorExtension.swift index 40b4435..44dd23b 100644 --- a/QRCode/CIColorExtension.swift +++ b/QRCode/CIColorExtension.swift @@ -29,7 +29,7 @@ public extension CIColor { var hexValue: CUnsignedLongLong = 0 if scanner.scanHexInt64(&hexValue) { - let length = rgba.characters.count + let length = rgba.count switch (length) { case 3: