From 2bd3e5ef23795ba22614a149e5e196e3bbf3966c Mon Sep 17 00:00:00 2001
From: Michael Kirk <michael@signal.org>
Date: Mon, 12 Nov 2018 09:59:51 -0600
Subject: [PATCH] cast to same integer signedness for comparison

---
 SignalMessaging/profiles/OWSProfileManager.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/SignalMessaging/profiles/OWSProfileManager.m b/SignalMessaging/profiles/OWSProfileManager.m
index 3f66e4766..fd371eed1 100644
--- a/SignalMessaging/profiles/OWSProfileManager.m
+++ b/SignalMessaging/profiles/OWSProfileManager.m
@@ -585,7 +585,7 @@ typedef void (^ProfileManagerFailureBlock)(NSError *error);
         uint8_t byte = (uint8_t)(0xff & byteValue);
         [groupId appendBytes:&byte length:1];
     }
-    if (groupId.length != kGroupIdLength) {
+    if (groupId.length != (NSUInteger)kGroupIdLength) {
         OWSFailDebug(@"Parsed group id has unexpected length: %@ (%lu)",
             groupId.hexadecimalString,
             (unsigned long)groupId.length);